Mail Archives: djgpp/2000/05/23/06:45:18
Damian Yerrick wrote:
>On 22 May 2000 11:08:10 GMT, buers AT gmx DOT de (Dieter Buerssner) wrote:
>>It should be possible
>>to compile crafty with mingw32. It would need some Makefile hacking.
>
>But not very much if you already have a working DJGPP makefile;
>DJGPP and mingw32 are both GNU make + GCC + GNU binutils.
Not much makefile hacking. But still a little bit non too obvious
things, like adding some -D defines, that were not documented
in the makefile, when I looked last time.
>What about these?
> -O3 -mpentium -ffast-math -fomit-frame-pointer
I tried those (without -ffast-math, which is not useful for a chess
program.) The -O3 will slow down crafty, due to excess inlining of
functions.
Also, Robert Hyatt developes crafty on linux, x86 with gcc. If he
admits the speed difference, he probably has some reason.
BTW. My chess program shows the same behaviour. MSVC faster gcc faster
bcc 5.5 faster bcc 3.1. Please note, that I haven't complained, I just
listed the facts.
- Raw text -