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: Nardy Pillards
Subject: Re: [Bug-gnubg] Generate bear off db(s) for Win32
Date: Mon, 2 Dec 2002 11:33:07 +0100

> 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.
>
> 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).
>
> Jørn

I don't think the libxml2.dll hurts anyone, as it is already in the GNU
Backgammon installation package.
And because (win32 spoken) the resulting files of makebearoff need to go
(well, 'need'...) in that same directory, putting makebearoff there and
generating the .db files.... there will be happy Win32 users (not having to
do any Copy/Paste/path=/...)

But not contesting the 'good exercise' ;-)

Nardy





reply via email to

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