[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Generate bear off db(s) for Win32

From: Joern Thyssen
Subject: Re: [Bug-gnubg] Generate bear off db(s) for Win32
Date: Mon, 2 Dec 2002 10:17:44 +0000
User-agent: Mutt/1.4i

On Mon, Dec 02, 2002 at 11:01:49AM +0100, Øystein Johansen wrote
> >===== Original Message From "Nardy Pillards" <address@hidden> =====
> >I think this will do the job for Win32:
> >
> >http://users.skynet.be/bk228456/make_bear_off_db.htm#how_to
> >
> >Any comments are welcome.
> Why does it need libxml2.dll?
> Is linked in from some unused functions in eval.c? Can these unused functions 
> be "removed" for linking with makebearoff? Is that what the -s option in gcc 
> does? Or can you special compile a version of eval.o (without HAVE_XML2) for 
> linking agains makebearoff?
> I don't see any practical reasons why libxml should be needed to build the 
> database, since it's not taking matchscore into account. Or am I wrong again?

makebearoff needs eval.o for GenerateMoves. eval.o needs matchequity.o
for match equities. matchequity.o needs libxml for parsing match equity

The only way to solve this is by cutting eval.o and matchequity.o into
smaller pieces. This might be a good exercise anyway as eval.c is around
6k lines and it contains functions that really don't belong in eval.c
(e.g., PathSearch).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]