Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

make midstate fails on osx #2

Open
razorfish-sl opened this issue Sep 2, 2013 · 4 comments
Open

make midstate fails on osx #2

razorfish-sl opened this issue Sep 2, 2013 · 4 comments

Comments

@razorfish-sl
Copy link

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

@vpereira
Copy link

vpereira commented Sep 9, 2013

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

@CryptoManiac
Copy link
Owner

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

@razorfish-sl
Copy link
Author

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
Copy link
Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants