Help learning to compile...
Posted: Wed Jun 12, 2019 11:18 pm
I am trying my very best to learn how to compile this engine... I keep running into an error during the compile... Anyone have ANY idea how to fix this? Now I really want to learn how... Mike took time to help with the CB stuff and I'd like to help by testing for him.
Looking at tutorials and videos on the web, I notice the variable kernel: 'MSYS_NT-10.0-18362' is usually MINGW... Is that the problem? What am I doing wrong?
Chief
Code: Select all
$ make profile-build ARCH=x86-64-modern COMP=mingw
Config:
debug: 'no'
sanitize: 'no'
optimize: 'yes'
arch: 'x86_64'
bits: '64'
kernel: 'MSYS_NT-10.0-18362'
os: 'Windows_NT'
prefetch: 'yes'
popcnt: 'yes'
sse: 'yes'
pext: 'no'
Flags:
CXX: g++
CXXFLAGS: -DAdd_Features -DMaverick -Wall -Wcast-qual -fno-exceptions -std=c++11 -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT
LDFLAGS: -static
Testing config sanity. If this fails, try 'make help' ...
Step 1/4. Building instrumented executable ...
make ARCH=x86-64-modern COMP=mingw gcc-profile-make
make[1]: Entering directory '/home/Tom/stockfish-x4/src'
make ARCH=x86-64-modern COMP=mingw \
EXTRACXXFLAGS='-fprofile-generate -fprofile-correction' \
EXTRALDFLAGS='-lgcov' \
all
make[2]: Entering directory '/home/Tom/stockfish-x4/src'
g++ -DAdd_Features -DMaverick -Wall -Wcast-qual -fno-exceptions -std=c++11 -fprofile-generate -fprofile-correction -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -c -o benchmark.o benchmark.cpp
make[2]: g++: Command not found
make[2]: *** [<builtin>: benchmark.o] Error 127
make[2]: Leaving directory '/home/Tom/stockfish-x4/src'
make[1]: *** [Makefile:624: gcc-profile-make] Error 2
make[1]: Leaving directory '/home/Tom/stockfish-x4/src'
make: *** [Makefile:524: profile-build] Error 2
Chief