Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Compiling crafty 19.20 for single CPU windows

Author: Andreas Stabel

Date: 04:51:49 08/24/05

Go up one level in this thread


On August 24, 2005 at 07:39:50, Roman Hartmann wrote:

>On August 24, 2005 at 07:36:35, Andreas Stabel wrote:
>
>>I've just done this and had to change a couple of things.
>>I put them here so Mr. Hyatt perhaps can do it to the official source and
>>others can correct or add to what I've done.
>>
>>1. Makefile.nt:
>>   Remove phase.c from everywhere
>>   Remove option /GS- from CFLAGS definition
>>   To make single CPU build: Remove COPTS definitions
>>
>>2. init.c
>>   Put #if defined(SMP)
>>   around the "NUMA work" code from line 284 to 317 (before
>>InitializeHashTables();)
>>
>>3. utility.c
>>   Before line 2570: return WinMalloc(size, tid);
>>   Put #  if !defined(SMP)  /* (Note the !) */
>>          return (malloc(size));
>>       #else
>>
>>   and after the 2570 line put #endif
>>
>>Regards
>>Andreas
>
>Hi Andreas,
>maybe you should also state which compiler and which version you used.
>
>Roman

Sorry - difficult to remember everything :)
Compiler: Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for
80x86
Used on a Windows XP Professional SP1 with 2GHz processor and 256MB memory.

Regards
Andreas



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.