Bitcoin Forum
December 14, 2024, 09:14:39 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Cross-compiling cgminer on Raspberry Pi  (Read 193 times)
crypto_curious (OP)
Full Member
***
Offline Offline

Activity: 934
Merit: 175


View Profile
May 17, 2020, 06:28:37 PM
Last edit: April 07, 2021, 03:49:54 PM by crypto_curious
 #1

Hello,

I'd like to compile a Linux AMD64 binary on my Raspberry Pi, so I can move compiled binary to my desktop and use it there.
I am not sure what options should I chose with ./configure command. Can someone help?

I cloned most recent code from git, and I am following steps from README:

Code:
./autogen.sh
CFLAGS="-O2 -Wall -march=native" ./configure <options>
make

My guess is that I should change -march to something else and/or add -host option, however, I am not sure here and I can't find any official info on this. Do I need to install extra libraries or packages to make AMD64 code on Pi?
Can someone help? Thanks in advance. Smiley
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!