From 15f7dd421d3a17cc8d92f49b207d1602c517dfa7 Mon Sep 17 00:00:00 2001 From: cryptapus Date: Thu, 23 Jun 2016 12:57:41 -0500 Subject: [PATCH] Added compilation notes --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index b85baa23..62eb461f 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,18 @@ A common question is how to build from Ubuntu, instructions follow: 15. ./configure 16. make +Other Build Notes: + +If you are compiling yourself, please configure with something like this: +``` +CFLAGS="-O2 -fPIC" CPPFLAGS="-O2 -fPIC" ./configure +``` +otherwise you'll probably get some errors later on. Additionally, if your CPU supports SSE2, and most modern CPU's do, use this: +``` +CFLAGS="-O2 -fPIC -DUSE_SSE2" CPPFLAGS="-O2 -fPIC -DUSE_SSE2" ./configure +``` +That will enable the SSE2 version of the Scrypt algorithm. This may reduce the CPU load when syncing the blockchain. + Development tips and tricks ---------------------------