QUICK Guide: Compile Crafty Chess Engine with gcc under Windows [This is a short form of the longer file "How_to_compile_crafty_19.x_under_Dev-Cpp.txt":] Preparation steps: ------------------ (1) Goto http://www.bloodshed.net/dev/devcpp.html and - Download devcpp4980.exe from http://www.c-view.org/soft/devcpp/downloads/devcpp4980.exe or http://mapage.noos.fr/dev5/devcpp4980.exe or http://prdownloads.sourceforge.net/dev-cpp/devcpp4980.exe - Download latest update (currently [13.12.2003] ver 4.9.8.5) from http://bloodshed.net/dev/devcpp4985.zip [this is a DELTA to above install, so you need both] - Install Dev-C++ to C:\Dev-Cpp\ Note: This installation process consists of 2 steps: - First install devcpp4980.exe as usual. - Then copy the contents of devcpp4985.zip to the corresponding installation target directory and sub-directories. (This means some older files are overwritten) (2) Download Crafty 19.6 from ftp://ftp.cis.uab.edu/pub/hyatt/v19/crafty-19.6.zip (3) Extract the contents of crafty-19.6.zip to a working directory, for example to C:\c-files\crafty\ (3-b) Copy the contents of *this* zip file, i.e. the files - Makefile - Makefile_tiny - Makefile_org_crafty_1906_modified - Makefile_org_crafty_1906 - Compile_Crafty_with_Dev-Cpp.bat - How_to_compile_crafty_19.x_under_Dev-Cpp.txt - How_to_compile_crafty_19.x_under_Dev-Cpp.html - Make_a_crafty.exe-very_quickly.txt - Make_a_crafty.exe-very_quickly.html to the same directory, e.g. to "C:\c-files\crafty\". This will overwrite the original file "Makefile" that was contained in crafty-19.6.zip. This is intended! (Note that the file "Makefile_org_crafty_1906" is an identical copy of this original makefile.) Compilation: ------------ In your Crafty source code directory, simply double-click "Compile_Crafty_with_Dev-Cpp.bat". --> This will compile and link the crafty source code and create an executable "crafty.exe". - FINISHED! - Note: If Dev-C++ was installed to another directory than C:\Dev-Cpp\, then the "Compile_Crafty_with_Dev-Cpp.bat" must me modified accordingly. Note: You should get 7 warnings altogether, and zero errors.