delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/23/06:45:18

From: buers AT gmx DOT de (Dieter Buerssner)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: windows version of Crafty
Date: 23 May 2000 10:40:16 GMT
Lines: 29
Message-ID: <8gduin.3vs5eg7.0@buerssner-17104.user.cis.dfn.de>
References: <003101bfc355$56967280$fa13ddcc AT lhaglund> <8g9ndb DOT 3vs4i2t DOT 0 AT buerssner-17104 DOT user DOT cis DOT dfn DOT de> <72ahis47e2qahll2k6n2cufc5dd4g6df3f AT 4ax DOT com> <8gbbce DOT 3vs4i2t DOT 0 AT buerssner-17104 DOT user DOT cis DOT dfn DOT de> <qotjisob4rbol7aue9hb79m7qo266unv7u AT 4ax DOT com>
NNTP-Posting-Host: pec-90-43.tnt4.s2.uunet.de (149.225.90.43)
Mime-Version: 1.0
X-Trace: fu-berlin.de 959078416 1145230 149.225.90.43 (16 [17104])
X-Posting-Agent: Hamster/1.3.13.0
User-Agent: Xnews/03.02.04
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019