Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Linux

Author: Robert Hyatt

Date: 07:46:40 08/22/99

Go up one level in this thread


On August 22, 1999 at 08:35:28, Frank Phillips wrote:

>I have just ported my chess program to Linux (RedHat5.2) and compiled it with
>egcs.  Sadly it is about 30 percent slower than under W98 compiled with MSVC++
>5.  I have tried various compiler options, but plain and simple  -O -mpentium
>seems about fastest on my K6.

download the latest gcc 2.95.  It will run 25% faster, and you will end up
about 10% slower than MSVC.  I hope that one day I have time to study the
gcc inline assembly stuff and modify vcinline to work with gcc.  That would
be another boost and would get gcc very close to msvc I suspect..


>
>The W98 version of my program relies on the vcinline.h code in crafty to do
>PopCnt(), FirstOne() and LastOne().  Egcs (GNU assembler) does not seem to
>understand MS assembly language, so I used x86.s to replace these functions for
>the Linux version.  This does not seem to be main the problem, however, since
>comparisons using boolean.c from crafty in place of vcinline.h and x86.s give
>about the same advantage to W98/MSVC++.   Has anyone else had a similar
>experience?
>
>Frank
>
>BTW if anyone knows where I can get an Xserver for an Ati Rage Fury (Rage 128)
>AGP card please tell me.  I can then run Linux and KDE on my PII 450.

redhat 5.2 is very old.  6.0 is out, as is Xfree86 3.3.something.  Go to the
ftp.xfree86.org ftp server and look around.  Download the latest Xfree86 release
and I'll bet you find either XF86_SVGA will recognize it, or else that there is
an accelerated server that will work...



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.