Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Crafty v 1912

Author: Peter Skinner

Date: 13:45:57 04/08/04

Go up one level in this thread


On April 08, 2004 at 12:45:55, Sean Empey wrote:

>The makefile.nt does not work when you try to compile with -MT. I'm using MSVC
>6. all the problems seem to be in utility.c and with numa. Anyone have any help
>the can offer?
>
>Thanks in advance.

These are the fixes from Micheal Byrne and worked for me:

in chess.h , it should read this:

#if defined(NT_i386)
#  undef  HAS_64BITS    /* machine has 64-bit integers / operators    */
#  define HAS_LONGLONG  /* machine has 32-bit/64-bit integers         */
#  undef  UNIX          /* system is unix-based                       */
#  undef  STDCALL
#  define STDCALL __stdcall
#  ifdef  VC_INLINE_ASM
#    undef  CDECL
#    define CDECL __cdecl
#    define USE_ASSEMBLY  -> for some reason this line  got dropped
#  endif
#endif

Also add unsigned long DWORD_PTR; in chess.h


then everywhere you see "INLINE_ASM" in boolean.c, data. and init.c -> change to
"USE_ASSEMBLY" and you should be fine

Peter.






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.