QUICK Guide: Compile Crafty 19.7 Chess Engine with gcc under Windows

( BIG Guide - HTML ) ( QUICK Guide in - TXT ) ( BIG Guide in - TXT )

Preparation steps:

(1) Goto 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.7 from
   ftp://ftp.cis.uab.edu/pub/hyatt/v19/crafty-19.7.zip

(3) Extract the contents of crafty-19.7.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_1907_modified
   - Makefile_org_crafty_1907
   - X86.s
   - X86_(original).s
   - Compile_Crafty_with_Dev-Cpp.bat
   - How_to_compile_crafty_19.7_under_Dev-Cpp.txt
   - How_to_compile_crafty_19.7_under_Dev-Cpp.html
   - Make_a_crafty1907.exe-very_quickly.txt
   - Make_a_crafty1907.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.7.zip. This is intended!
 (Note that the file "Makefile_org_crafty_1907" 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 1 warning and 0 errors.