🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.chess
Article #5369

Re: Problem with gnuchess on RS6k running AIX3.2.4Dear Mr. Mann,

#5369
From: Tim Mann
Date: Tue, 12 Oct 1993 19:17
75 lines
3405 bytes
In article <29ecot$10j1@info2.rus.uni-stuttgart.de> vabb1649@iagrs01.iag.uni-stuttgart.de (B. Bauer) writes:
>I'm trying to get gnuchessx and xboard running on a RS6k with AIX 3.2.4.
>My xboard version is xboard-3.0.pl9.
>My gnuchess version is gnuchess4.0p62.
>I have compiled gnuchess by gcc-2.4.5.
>Here follows the script file:
>
...
>In the past somebody asked in a mailing list how gnuchess can be
>compiled to run on a RS6k. Some compiler options were posted which
>should run. The author of that mail wrote, that he let gnuchess play
>against gnuchess successfully. That does not show that gnuchess is
>working well, because both players (gnuchessx) may consider the same
>set of moves. 

You are right that playing gnuchess against itself does not *prove*
that gnuchess is working.  However, Tom McConnell (who sent that mail)
was able to reproduce the incorrect "illegal move" messages with this
test when he used some combinations of compiler flags and not when he
used others.  Also, I'm sure that Tom continued to use gnuchess after
apparently getting it to work; having it play against itself wasn't
the only thing he tried.

Therefore, I think you should still try the compiler options Tom
posted.  I don't have any knowledge beyond his, as I don't have access
to an RS6000.  I don't think Mike or Stuart do either.

To refresh your memory, here is what Tom said:

>  Here is a list of the flags/compilers I have tried on RS/6000's:
>
>        CFLAGS= -O2 -funroll-loops  # Breaks with gcc-2.3.3, AIX-3.2.2
>        CFLAGS= -O -qchars=signed # Seems to work for cc on RS/6000 AIX-3.2.2
>        CFLAGS= -O2 # Fails with gcc-2.3.3 on AIX-3.2.2
>        CFLAGS=  # Seems to work with gcc-2.3.3 on AIX-3.2.2, and cc.
>        CFLAGS= -O # seems to work with gcc-2.3.3 on AIX-3.2.2, and cc.
>        CFLAGS = -funroll-loops # Seems to work with gcc-2.3.3 on AIX-3.2.2
>        CFLAGS = -O -funroll-loops # fails with gcc-2.3.3 on AIX-3.2.2
>
>  I personally use the "CFLAGS = -O" option

Also, Chua Kong Sian said:

> Well, I do have gnuchess on AIX v 3.2 (?) working fine.  Using the resident
> cc compiler, I have the flags as
> 
> CFLAGS = -O3 -D_POSIX_SOURCE

Note that Kong Sian was NOT using gcc.  You have to fix a small bug in
gnuchess.h to compile gnuchess without gcc.  Use the following patch:

iff -c gnuchess.h.~1~ gnuchess.h 
*** gnuchess.h.~1~      Tue Jun 22 06:49:33 1993
--- gnuchess.h  Wed Sep 15 11:22:27 1993
***************
*** 27,33 ****
  
  #ifndef __GNUC__
  #define inline
! #else
  #define huge
  #endif
  
--- 27,35 ----
  
  #ifndef __GNUC__
  #define inline
! #endif
! 
! #ifndef MSDOS
  #define huge
  #endif


	--Tim
Technical Details
Message-ID: <29evru$okq@src-news.pa.dec.com>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!darwin.sura.net!news-feed-2.peachnet.edu!concert!decwrl!src.dec.com!mann
References: <29ecot$10j1@info2.rus.uni-stuttgart.de>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d71d,c796eb222ea1e663
X-Google-Attributes: gid10d71d,public
X-Google-ArrivalTime: 1993-10-12 13:16:15 PST
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!darwin.sura.net!news-feed-2.peachnet.edu!concert!decwrl!src.dec.com!mann
From: mann@src.dec.com (Tim Mann)
Newsgroups: gnu.chess
Subject: Re: Problem with gnuchess on RS6k running AIX3.2.4Dear Mr. Mann,
Date: 12 Oct 1993 19:17:18 GMT
Organization: DEC Systems Research Center
Lines: 75
Distribution: world
Message-ID: <29evru$okq@src-news.pa.dec.com>
References: <29ecot$10j1@info2.rus.uni-stuttgart.de>
NNTP-Posting-Host: cypress.pa.dec.com