Geschrieben von: / Posted by: Lance Perkins at 05 March 2004 05:50:02:
Als Antwort auf: / In reply to: Amy 0.8.7 runs but... geschrieben von: / posted by: Dann Corbit at 05 March 2004 04:57:53:
Seems to work fine with my mingw build (even with debug "-g" option). Played a few games with it.
untar/unzip the source
cd src
copy ..\config.h.in config.h
notepad config.h
add: #define VERSION "0.8.7"
notepad amy.h
add:
"typedef unsigned __int64 hash_t;"
in same place as:
"typedef unsigned __int64 ran_t;"
del *.o
gcc -O3 -I. -c bitboard.c bookup.c commands.c dbase.c eco.c hashtable.c
gcc -O3 -I. -c init.c learn.c main.c mates.c movedata.c next.c pgn.c
gcc -O3 -I. -c probe.c random.c recog.c score.c search.c search_io.c
gcc -O3 -I. -c state_machine.c swap.c time_ctl.c utils.c version.c
gcc -c -O3 mytb.cpp
ignore the warnings (really harmless)
gcc -o amy.exe *.o
This is the project I am using, in case someone wants to play with it:
ftp://cap.connx.com/chess-engines/new-a ... amy087.zipI am pretty sure that a memory overwrite happens somewhere.
The binary version on my ftp site has symbols in it (though built in release mode). That version does not crash. However, when built without symbols it crashes right and left. So I am pretty sure that there is something naughty afoot somewhere.
Maybe someone can spend some time to track it down.