Computer Chess Club Archives


Search

Terms

Messages

Subject: Compiling crafty 19.20 for single CPU windows

Author: Andreas Stabel

Date: 04:36:35 08/24/05


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



This page took 0.01 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.