DarkEnergyProcessor/HonokaMiku

Compiling on Mac

Closed this issue · 1 comments

I am an OS X user. The default Makefile doesn't works as OS X offers Clang as g++ command.

I would suggest change the g++ commands to $(CC).

Besides, what are the compiler options -Wl,-E used for? If I remove it, the compiling succeeds, but if not, the compiler says:

mkdir -p bin/honokamiku
g++-4.8 -O3  -fPIC -pie -o bin/honokamiku/HonokaMiku   JP_Decrypter.o V2_Decrypter.o Helper.o HonokaMiku.o  -Wl,-E
ld: unknown option: -E
collect2: error: ld returned 1 exit status
make: *** [honokamiku] Error 1

actually compiling HonokaMiku can be done with single command line. Execute
this command in HonokaMiku directory.

g++ -o HonokaMiku src/*.cc
21 Mei 2016 11.18, "小傅Fox" notifications@github.com menulis:

I am an OS X user. The default Makefile doesn't works as OS X offers Clang
as g++ command.

I would suggest change the g++ commands to $(CC).

Besides, what are the compiler options -Wl,-E used for? If I remove it,
the compiling succeeds, but if not, the compiler says:

mkdir -p bin/honokamiku
g++-4.8 -O3 -fPIC -pie -o bin/honokamiku/HonokaMiku JP_Decrypter.o V2_Decrypter.o Helper.o HonokaMiku.o -Wl,-E
ld: unknown option: -E
collect2: error: ld returned 1 exit status
make: *** [honokamiku] Error 1


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#3