1
BitShares PTS / Re: Donations to open source a GPU Protoshares miner (PTS)
« on: January 09, 2014, 06:06:10 pm »
Any thoughts on getting it to compile on Mac OS X? The requirements are straightforward using homebrew (brew install boost yasm and ensuring cuda toolkit is installed and in my PATH) but building fails for me on the -march and -mtune switches in cpuid.c.
TIA!
Code: [Select]
$ make -f makefile.osx
llvm-g++ -O3 -I/opt/local/include -march=native -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -I"/Users/nhyde/Documents/shared/workspace/c/Sandbox/cudapts/src" -I"/Users/nhyde/Documents/shared/workspace/c/Sandbox/cudapts/src"/obj -I"/opt/local/include" -c -O2 -fpermissive -o obj/cpuid.o cpuid.c
cpuid.c:1: error: bad value (native) for -march= switch
cpuid.c:1: error: bad value (native) for -mtune= switch
make: *** [obj/cpuid.o] Error 1
TIA!