Thank you for the tip, it works well.mar wrote:I think you should try g++ -std=c++11 -msee4.1
But it crashed on me all the time anyway.
If you don't want to bother with Makefile, try creating a single cpp file, where you #include all the other cpp files. That way you can compile using a one-liner directly from terminal.
Code: Select all
#include "bitops.cpp"
#include "board.cpp"
#include "command.cpp"
#include "data.cpp"
#include "eval.cpp"
#include "hash.cpp"
#include "move.cpp"
#include "movegen.cpp"
#include "search.cpp"
#include "see.cpp"
#include "timer.cpp"
#include "transposition.cpp"
#include "vajolet.cpp"
Code: Select all
Compiler: TDM-GCC 4.7.1 64-bit Release
Executing g++.exe...
g++.exe "c:\vajolet2-112b8189b4e0\vajolet-2.23.cpp" -o "c:\vajolet2-112b8189b4e0\vajolet-2.23.exe" -msse4.1 -Ofast -m64 -std=gnu++11 -I"c:\Dev-Cpp 5.4.2 TDM-GCC x64 4.7.1 Portable\MinGW64\x86_64-w64-mingw32\include" -L"c:\Dev-Cpp 5.4.2 TDM-GCC x64 4.7.1 Portable\MinGW64\x86_64-w64-mingw32\lib" -static-libgcc -m64 -s
Execution terminated
Compilation successful
vajolet-2.23.exe (925.50KB)
http://www.sendspace.com/file/j5stn0