Open nguyenpham opened 3 years ago
I have tried to compile Monolith on my iMac, using both g++ and clang but no hope. Below is one of my tries and the error about linking:
make ARCH=x64 COMP=clang++ clang++ -std=c++17 -O3 -m64 -static -Wall -Wextra -Wpedantic -DNDEBUG attack.cpp bench.cpp bit.cpp board.cpp eval.cpp magic.cpp main.cpp misc.cpp move.cpp movegen.cpp movepick.cpp movesort.cpp polyglot.cpp random.cpp search.cpp syzygy.cpp texel.cpp thread.cpp time.cpp trans.cpp types.cpp uci.cpp zobrist.cpp -pthread -s -o Monolith-x64.exe ld: warning: option -s is obsolete and being ignored ld: library not found for -lcrt0.o clang: error: linker command failed with exit code 1 (use -v to see invocation)
I've never considered to compile it for Mac, but I'll look into it.
I have tried to compile Monolith on my iMac, using both g++ and clang but no hope. Below is one of my tries and the error about linking: