I'm trying to build on a Raspberry Pi 3 but failed with this error:
Using GCC compiler g++ -c -std=gnu++11 -pthread -m64 -static-libgcc -static-libstdc++ -Wno-sign-compare -Wno-invalid-offsetof -Wno-unused-parameter -Wformat -Wformat-security -DBOOST_SPIRIT_THREADSAFE -DBOOST_THREAD_USE_LIB -I/root/PrimePoolMiner -I/root/PrimePoolMiner/build -I/root/PrimePoolMiner/hash -Ofast -march=native -MMD -o build/util.o util.cpp g++: error: unrecognized command line option ‘-m64’ makefile:124: recipe for target 'build/util.o' failed make: *** [build/util.o] Error 1
I have boost dev libraries installed.
There's not util.o file under build folder, I've copied several versions of this file but the error it's the same.
Tried this command: make MARCHFLAGS=--march=armv7l -f makefile but the error is similar.
I'm using Raspbian Linux raspi 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux
Any help would be appreciate it
I'm trying to build on a Raspberry Pi 3 but failed with this error:
Using GCC compiler g++ -c -std=gnu++11 -pthread -m64 -static-libgcc -static-libstdc++ -Wno-sign-compare -Wno-invalid-offsetof -Wno-unused-parameter -Wformat -Wformat-security -DBOOST_SPIRIT_THREADSAFE -DBOOST_THREAD_USE_LIB -I/root/PrimePoolMiner -I/root/PrimePoolMiner/build -I/root/PrimePoolMiner/hash -Ofast -march=native -MMD -o build/util.o util.cpp g++: error: unrecognized command line option ‘-m64’ makefile:124: recipe for target 'build/util.o' failed make: *** [build/util.o] Error 1I have boost dev libraries installed.
There's not util.o file under build folder, I've copied several versions of this file but the error it's the same.
Tried this command: make MARCHFLAGS=--march=armv7l -f makefile but the error is similar.
I'm using Raspbian Linux raspi 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux
Any help would be appreciate it