Article View: gnu.chess
Article #1836Re: GNU/Chess 5.03 Released
From: Lukas Geyer
Date: Mon, 25 Feb 2002 17:28
Date: Mon, 25 Feb 2002 17:28
60 lines
3047 bytes
3047 bytes
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. (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. Lukas P.S.: There was another report on problems with the Cygwin readline DLL, can someone confirm that?
Technical Details
Message-ID:
<67elj91neu.fsf@math.uni-dortmund.de>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!193.174.75.178!news-fra1.dfn.de!news-koe1.dfn.de!news.uni-dortmund.de!not-for-mailReferences:
<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>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 09:28:42 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!193.174.75.178!news-fra1.dfn.de!news-koe1.dfn.de!news.uni-dortmund.de!not-for-mail From: Lukas Geyer <geyer@math.uni-dortmund.de> Newsgroups: gnu.chess,rec.games.chess.computer Subject: Re: GNU/Chess 5.03 Released Date: 25 Feb 2002 18:28:25 +0100 Organization: Universitaet Dortmund Lines: 60 Message-ID: <67elj91neu.fsf@math.uni-dortmund.de> 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> NNTP-Posting-Host: nitsche.mathematik.uni-dortmund.de X-Trace: nx6.HRZ.Uni-Dortmund.DE 1014658119 9227 129.217.151.148 (25 Feb 2002 17:28:39 GMT) X-Complaints-To: news@hrz.uni-dortmund.de NNTP-Posting-Date: 25 Feb 2002 17:28:39 GMT X-Newsreader: Gnus v5.7/Emacs 20.6