bug-gnubg
[Top][All Lists]
Advanced

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

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


From: Øystein Johansen
Subject: RE: [Bug-gnubg] Generate bear off db(s) for Win32
Date: Mon, 2 Dec 2002 12:21:25 +0100

>===== Original Message From Joern Thyssen <address@hidden> =====
>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
>files.

Yes, I see!

>The only way to solve this is by cutting eval.o and matchequity.o into
>smaller pieces.

Why doesn't it help if eval.o and matchequity.o is recompiled without
HAVE_XML2 defined?

> 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).

Yes, a cleanup here would be nice. I can take a look at this in the weekend I
guess. (If no one else voluenteers for the task.)

>Jørn

-Øystein






reply via email to

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