Compiling Amy 0.8.7 with VC6

Archive of the old Parsimony forum. Some messages couldn't be restored. Limitations: Search for authors does not work, Parsimony specific formats do not work, threaded view does not work properly. Posting is disabled.

Compiling Amy 0.8.7 with VC6

Postby Lance Perkins » 05 Mar 2004, 19:48

Geschrieben von: / Posted by: Lance Perkins at 05 March 2004 19:48:37:

Played many blitz/bullet games in debug (-Zi) and non-debug modes, and seems stable.
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;"
notepad tbindex.cpp
replace:
extern "C" int TB_FASTCALL L_TbtProbeTable
with:
extern "C" int L_TbtProbeTable
notepad random.c
replace:
double result = (double) Random64();
with:
double result = (double) (__int64) Random64();
del *.obj
cl -Ox -I. -c bitboard.c bookup.c commands.c dbase.c eco.c hashtable.c
cl -Ox -I. -c init.c learn.c main.c mates.c movedata.c next.c pgn.c
cl -Ox -I. -c probe.c random.c recog.c score.c search.c search_io.c
cl -Ox -I. -c state_machine.c swap.c time_ctl.c utils.c version.c
cl -Ox -c mytb.cpp
cl -Feamy.exe *.obj
Lance Perkins
 

Re: Compiling Amy 0.8.7 with VC6

Postby Michael Yee » 05 Mar 2004, 20:19

Geschrieben von: / Posted by: Michael Yee at 05 March 2004 20:19:17:
Als Antwort auf: / In reply to: Compiling Amy 0.8.7 with VC6 geschrieben von: / posted by: Lance Perkins at 05 March 2004 19:48:37:
Played many blitz/bullet games in debug (-Zi) and non-debug modes, and seems stable.
Hi Lance,
Do your methods for building amy (under mingw32 and vc6) create binaries that can use opening books? (i.e., did you have to install Berkeley DB first and point to its path somehow?)
Thanks,
Michael
Michael Yee
 

Re: Compiling Amy 0.8.7 with VC6

Postby Dann Corbit » 05 Mar 2004, 20:39

Geschrieben von: / Posted by: Dann Corbit at 05 March 2004 20:39:45:
Als Antwort auf: / In reply to: Re: Compiling Amy 0.8.7 with VC6 geschrieben von: / posted by: Michael Yee at 05 March 2004 20:19:17:
Played many blitz/bullet games in debug (-Zi) and non-debug modes, and seems stable.
Hi Lance,
Do your methods for building amy (under mingw32 and vc6) create binaries that can use opening books? (i.e., did you have to install Berkeley DB first and point to its path somehow?)
When you compile for Berkeley DB, you don't have to install anything.
Everything you need is linked in.
From his description, he is not compiling for Berkeley DB or pthreads.



my ftp site {remove http:// unless you like error messages}
Dann Corbit
 

Re: Thanks for the tip. (nt) (n/t)

Postby Michael Yee » 06 Mar 2004, 14:22

Geschrieben von: / Posted by: Michael Yee at 06 March 2004 14:22:33:
Als Antwort auf: / In reply to: Re: Compiling Amy 0.8.7 with VC6 geschrieben von: / posted by: Dann Corbit at 05 March 2004 20:39:45:
Michael Yee
 


Return to Archive (Old Parsimony Forum)

Who is online

Users browsing this forum: No registered users and 16 guests