( QUICK Guide - HTML ) ( QUICK Guide in - TXT ) ( BIG Guide in - TXT )
---------------------------------------------------------------
How to Compile Crafty 19.7 with Dev-Cpp (gcc/g++) under Windows
---------------------------------------------------------------
A "Cook Book"
I used version 4.9.8.5 (a stable beta of version 5) incl.
gcc/g++ 3.2
('mingw special 20020817-1') under Win 2000 and an AMD Athlon 900 MHz.
Successfully tested with Crafty versions 19.7.
A *slight* modification of source file X86.s is necessary.
Date: 16.12.2003
CRAFTY 19.6 |
"perf" |
nodes per 2sec |
||
gener. |
made/ unmade |
nodes |
evals |
|
Compiler Setting: |
(performance in percent of blue reference) |
|||
Compile from IDE, no optimisations |
3.49s |
12.04s |
339860 |
154975 |
Compile from IDE, set |
2.47s |
8.47s |
484818 |
212096 |
Compile from IDE, set |
2.40s |
7.78s |
478781 |
208939 |
Use own Makefile, as above, but |
2.44s |
7.76s |
493939 |
215116 |
Use own Makefile, as above, but |
2.34s |
8.37s |
493939 |
215116 |
Use own Makefile, as above, but |
2.28s |
8.03s |
533160 |
232414 |
Use own Makefile, as above |
2.30s |
7.62s |
536177 |
233882 |
For Comparison: CRAFTY 19.2 |
|
|
|
|
Compiled with own makefile above: |
2.32s |
7.64s |
534457 |
256886 |
Executable downloaded |
2.07s (112%) |
6.29s (121%) |
655082 (123%) |
310738 (121%) |
--> MSVC is faster than gcc 3.2 |
12% |
21% |
23% |
21% |
For Comparison: CRAFTY 19.7/19.8 |
|
|
|
|
Compiled with own makefile above: |
2.29s |
7.53s |
536183 |
233130 |
Use own Makefile, as above, but
|
2.25s |
7.88s |
536183 |
233130 |