Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Compiling Crafty 19.1 on Mac OS X (COMPACT_ATTACKS?)

Author: Robert Hyatt

Date: 16:36:18 03/06/03

Go up one level in this thread


On March 06, 2003 at 18:41:14, Andreas Guettinger wrote:

>>>-DCOMPACT_ATTACKS did work up to Crafty18.15 under OSX, but it didn't work
>>>anymore since Crafty 19.0. It doesn't compile on gcc3.1, neither on gcc2.95, so
>>>it's broken. :-)
>>>
>>>But Crafty runs fine on my OSX without -DCOMPACT_ATTACKS.
>>>
>>>regards
>>>Andy
>>
>>
>>This suggests a compiler problem.  If you look for COMPACT_ATTACKS in the
>>source code, you will notice that _nothing_ has changed in those blocks of code,
>>for many
>>years now...
>
>So why was there never a problem with -COMPACT_ATTACKS from Crafty9.31 to
>Crafty18.15 on the same compiler under same conditions? Very strange. But we had
>this discussion already. I just like to prod the programmers sometimes to double
>check their sources. :-)
>By the way, what does COMPACT_ATTACKS do anyway? Maybe the problem is not
>directly related to COMPACT_ATTACKS, but somehow indirectly?

Probably.  IE there is other code around the compact-attacks stuff that has
changed...  which gives the optimizer in the compiler more stuff to look at.
And more chances to make errors.

I can't get gcc to produce a SPARC executable at all, for example.  I'm trying
to go back to older versions as it did work at one time.



>
>regards
>Andi



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.