How to compile in Linux?
I got the daemon built and running with avx doing the following:
clone off github: git clone -b mcinit
https://github.com/memorycoin/memorycoin.gitunzip that archive into the src folder
change makefile.unix with the following
line 18. change
DEFS += $(addprefix -I,$(CURDIR) $(CURDIR)/obj $(BOOST_INCLUDE_PATH) $(BDB_INCLUDE_PATH) $(OPENSSL_INCLUDE_PATH)) -DSCRYPT_CHACHA -DSCRYPT_KECCAK512
line 138. add
obj/scrypt.o
line 170. add
obj/scrypt.o: scrypt-jane/scrypt-jane.c
gcc -c $(xCXXFLAGS) $(DEFS) -o $@ $^ -MMD -MF obj/scrypt.P
then make -f makefile.unix will produce bitcoind
YMMV, but works for me with march=native, mining with this last hour no blocks tho, also changed nthreads from hardcoded 1 too 4 (nthreads variable on it's own keept crashing)
Edit: for QT build comment theses out of bitcoin-qt.pro
#BOOST_LIB_SUFFIX=-mgw46-mt-sd-1_54
#BOOST_INCLUDE_PATH=C:\deps\boost_1_54_0
#BOOST_LIB_PATH=C:\deps\boost_1_54_0\stage\lib
#BDB_INCLUDE_PATH=C:\deps\db-4.8.30.NC\build_unix
#BDB_LIB_PATH=C:\deps\db-4.8.30.NC\build_unix
#OPENSSL_INCLUDE_PATH=C:\deps\openssl-1.0.1e\include
#OPENSSL_LIB_PATH=C:\deps\openssl-1.0.1e