Bitcoin Forum
June 25, 2024, 10:27:52 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to compile cgminer  (Read 2028 times)
Mike9876 (OP)
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
February 20, 2015, 05:50:10 AM
 #1

Hello, I have connected an Avalon 3 USB ASIC and installed cgminer. I need to know what commands to enter to compile it and set it up. The ASIC Readme says "Avalon2/3 devices need the --enable-avalon2 option when compiling cgminer." What are the exact commands needed to set it up? Please respond w/ help. Thanks

Newar
Legendary
*
Offline Offline

Activity: 1358
Merit: 1001


https://gliph.me/hUF


View Profile
February 20, 2015, 05:18:57 PM
 #2

Read the main Readme too.
Code:
./autogen.sh	# only needed if building from git repo
CFLAGS="-O2 -Wall -march=native" ./configure <options>
make


Replace <options> with --enable-avalon2 and any other options you may need.

OTC rating | GPG keyid 1DC91318EE785FDE | Gliph: lightning bicycle tree music | Mycelium, a swift & secure Bitcoin client for Android | LocalBitcoins
Mike9876 (OP)
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
February 20, 2015, 08:20:51 PM
 #3

Thanks for the reply. I'll try it and message back.
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!