Operating System: macOS 10.12.2 (16C68)
Compiler: gcc-6
I've installed gcc-6 and modified config.mk as required into
export CC = gcc-6
export CXX = g++-6
But keep having this error:
g++-6 -c -std=c++0x -Wall -Wno-unknown-pragmas -Iinclude -Idmlc-core/include -Irabit/include -O3 -funroll-loops -msse2 -fPIC -fopenmp src/learner.cc -o build/learner.o
FATAL:/opt/local/bin/../libexec/as/x86_64/as: I don't understand 'm' flag!
XCode
gcc
make clean_all && make -4j
But still went wrong. Any idea?
I had this issue when using macports
-installed gnu assembler. You could try forcing the use of as
that comes with Xcode, or simply temporarily removing /opt/local/bin
from your path.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With