Author

Topic: Cross-compiling cgminer on Raspberry Pi (Read 191 times)

full member
Activity: 924
Merit: 175
April 03, 2021, 05:31:20 PM
#4
This thread is irrelevant, I asked this 11 months ago.
Stop posting meaningless shit in order to increase your rank from Newbie to higher.

hi, just wondering are you already fresh install using NOOBS?

if yes, delete all related clone file, then try to re-clone the cgminer.

after that, Install, configure and also enable bmsc options like this:

Code:
cd cgminer
sudo ./autogen.sh
export LIBCURL_CFLAGS=’-I/usr/include/curl’
sudo ./configure --enable-bmsc
sudo make

then test your cgminer. hope this help dude

Your post doesn't make any sense whatsoever, either you didn't read my thread, you stupid, or just cranking posts counter and that way easiest to write.
member
Activity: 100
Merit: 29
April 03, 2021, 02:01:17 PM
#3
Search for "cross-compile for amd64 on arm" on google. cgminer is no different from any other binary you want to cross-compile (i.e. building for another arch than your host is running on).
newbie
Activity: 5
Merit: 0
April 03, 2021, 11:51:15 AM
#2
hi, just wondering are you already fresh install using NOOBS?

if yes, delete all related clone file, then try to re-clone the cgminer.

after that, Install, configure and also enable bmsc options like this:

Code:
cd cgminer
sudo ./autogen.sh
export LIBCURL_CFLAGS=’-I/usr/include/curl’
sudo ./configure --enable-bmsc
sudo make

then test your cgminer. hope this help dude
full member
Activity: 924
Merit: 175
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
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
Jump to: