Bitcoin Forum
May 15, 2024, 06:36:07 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Building 1GH miner with static linking  (Read 450 times)
topstar (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
March 14, 2016, 12:53:48 PM
 #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!

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!