🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.chess
Article #1838

Re: GNU/Chess 5.03 Released

#1838
From: Dann Corbit
Date: Mon, 25 Feb 2002 18:35
86 lines
3958 bytes
"Lukas Geyer" <geyer@math.uni-dortmund.de> wrote in message
news:67elj91neu.fsf@math.uni-dortmund.de...
> Simon Waters <Simon@wretched.demon.co.uk> writes:
>
> > Dann Corbit wrote:
> > >
> > > "Simon Waters" <Simon@wretched.demon.co.uk> wrote:
> > > > Dann Corbit wrote:
> > > > >
> > > > > Here is my tweaked version (the stock version won't even build on
my
> > > PC):
> > > > >
ftp://cap.connx.com/pub/chess-engines/new-approach/GnuChess-503.exe
>
> Thanks for providing that Windows version. However, the corresponding
> sources look _very_ Windows-specific, we should come up with something
> portable.
>
> > > > Did you try using gcc?
> > >
> > > This is with the unmodified version (straight from the tar file):
> > >
> > > $ gcc --version
> > > 2.95.3-5
> > >
> > > dcorbit@DANNFAST l:/gnuchess-5.03
> > > $ ./configure
> > ....
> > > checking for inttypes.h... no
> > > checking for stdint.h... no
> >
> > The great thing about standards is they keep changing.
>
> Well, C99 has been around for some time, unfortunately implementations
> still are lacking behind.
>
> > Probably the simplest workaround is just before....
> >
> > typedef uint64_t BitBoard;
> > typedef uint64_t HashType;
> > typedef uint32_t
> > KeyType;
> >
> > to add;
> >
> > typedef u_int16_t uint16_t;
> > typedef u_int32_t uint32_t;
> > typedef u_int64_t uint64_t;
> >
> > I used "#define uint16_t u_int16_t" etc in testing under cygwin.
>
> Well, we could try to solve this with autoconf magic. However, I do
> not like a solution with special windows sources which use C++ and
> some windows-specific headers.

But the UNIX specific headers are fine of course.
;-)

The version I made will compile just fine under UNIX too.

> (This is fine to be distributed by Dan
> but the mainstream gnuchess should remain portable C, I think.)
> Unfortunately I am not able to test with Cygwin due to a local lack of
> MS software, but someone should maybe test with Cygwin before
> releases.

I also fixed the hash table allocation in my latest release.

> Lukas
>
> P.S.: There was another report on problems with the Cygwin readline
> DLL, can someone confirm that?

Here are the results for my latest compile, together with the opening book
that I built

    Program            Elo    +   -   Games   Score   Av.Op.  Draws

  1 GNU Chess 5.03  : 2306   31  27   480    51.7 %   2294   18.3 %
  2 GNUChess-414    : 2294   27  31   480    48.3 %   2306   18.3 %

--
C-FAQ: http://www.eskimo.com/~scs/C-faq/top.html
 "The C-FAQ Book" ISBN 0-201-84519-9
C.A.P. FAQ: ftp://cap.connx.com/pub/Chess%20Analysis%20Project%20FAQ.htm
Technical Details
Message-ID: <a5dvt101k9d@enews2.newsguy.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!enews.sgi.com!newshub2.rdc1.sfba.home.com!news.home.com!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews2
References: <3C72CB2A.99A9458B@wretched.demon.co.uk> <a4uou801uip@enews2.newsguy.com> <3C737CD0.98486B66@wretched.demon.co.uk> <a50sd201vpn@enews4.newsguy.com> <3C74755B.1E42BFDB@wretched.demon.co.uk> <67elj91neu.fsf@math.uni-dortmund.de>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 110df2,6391e19877afdf6e
X-Google-Attributes: gid110df2,public
X-Google-Thread: 10d71d,6391e19877afdf6e
X-Google-Attributes: gid10d71d,public
X-Google-ArrivalTime: 2002-02-25 10:52:20 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!enews.sgi.com!newshub2.rdc1.sfba.home.com!news.home.com!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews2
From: "Dann Corbit" <dcorbit@connx.com>
Newsgroups: gnu.chess,rec.games.chess.computer
Subject: Re: GNU/Chess 5.03 Released
Date: Mon, 25 Feb 2002 10:35:29 -0800
Organization: http://extra.newsguy.com
Lines: 88
Message-ID: <a5dvt101k9d@enews2.newsguy.com>
References: <3C72CB2A.99A9458B@wretched.demon.co.uk> <a4uou801uip@enews2.newsguy.com> <3C737CD0.98486B66@wretched.demon.co.uk> <a50sd201vpn@enews4.newsguy.com> <3C74755B.1E42BFDB@wretched.demon.co.uk> <67elj91neu.fsf@math.uni-dortmund.de>
NNTP-Posting-Host: p-421.newsdawg.com
Mime-Version: 1.0
Content-Type: text/plain;
 charset="Windows-1252"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000