stratum-mining-proxy icon indicating copy to clipboard operation
stratum-mining-proxy copied to clipboard

make midstate fails on osx

Open razorfish-sl opened this issue 11 years ago • 4 comments

make gcc -march=native -Wall -funroll-all-loops -O3 -fstrict-aliasing -Wall -std=c99 -I/usr/include/python2.7 midstatemodule.c -o test -Wl,-O1 -Wl,--as-needed -lpython2.7 midstatemodule.c:1: error: bad value (native) for -march= switch midstatemodule.c:1: error: bad value (native) for -mtune= switch make: *** [test] Error 1

razorfish-sl avatar Sep 02 '13 02:09 razorfish-sl

just as short notice @razorfish-sl. I was able to compile it using clang, my Makefile is here https://gist.github.com/vpereira/6502201

vpereira avatar Sep 09 '13 22:09 vpereira

razorfish-sl, can you publish output of gcc --version command?

CryptoManiac avatar Sep 09 '13 23:09 CryptoManiac

gcc --version i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)

razorfish-sl avatar Sep 10 '13 05:09 razorfish-sl

Yep Just thought I would push the error so the author could fix it.

razorfish-sl avatar Sep 10 '13 05:09 razorfish-sl