Author

Topic: Building 1GH miner with static linking (Read 469 times)

newbie
Activity: 2
Merit: 0
March 14, 2016, 07:53:48 AM
#1
Hello guys, i hope someone can help me.

This thread is about this miner https://github.com/1gh/cpuminer-cryptonite if i choose the wrong topic please move this thread.

I'm a Sofware Engineering Student and usualy code with VS, so i dont know much about mingw. I have compiled the 1GH miner for windows with gcc for learning purpose. Now im trying to get rid of the dll files and link the whole miner statically. If i try to buidl with static librarys with -static i get this :
Code:
checking for __gmpz_init in -lgmp... no
configure: error: GNU MP not found, see https://gmplib.org/

gmp is installed and with dynamical linking everything compiles fine. Could someone give me a hint or some help compiling this ?

Thanks!

Jump to: