libgaviota?

Discussion of chess software programming and technical issues.

Moderator: Ras

Michel
Posts: 2292
Joined: Mon Sep 29, 2008 1:50 am

libgaviota?

Post by Michel »

I have been looking at the gaviota tablebases for inclusion into gnuchess.

Rather than just including the gaviota probing code it seems more flexible
to me to create a dynamic library and to link to that.

Any reason why it is not done like that? The shared library could be
distributed on linux through the apt-get system.
User avatar
michiguel
Posts: 6401
Joined: Thu Mar 09, 2006 8:30 pm
Location: Chicago, Illinois, USA

Re: libgaviota?

Post by michiguel »

Michel wrote:I have been looking at the gaviota tablebases for inclusion into gnuchess.

Rather than just including the gaviota probing code it seems more flexible
to me to create a dynamic library and to link to that.

Any reason why it is not done like that? The shared library could be
distributed on linux through the apt-get system.
No particular reason. I distributed the source code without anything else because it was the most portable way and because I never had to make a library myself.

However, it may be a good idea, at least for Linux, to provide a library to link it directly. It will be useful for the users only if that library is readily accessible through the apt-get system etc. as you say. But I do not know how to make sure that it is distributed that way. But, we should explore the possibility.

An alternative, is to provide a static library. In fact, that is how Aaron uses it in Daydreamer.

Miguel
Michel
Posts: 2292
Joined: Mon Sep 29, 2008 1:50 am

Re: libgaviota?

Post by Michel »

It will be useful for the users only if that library is readily accessible through the apt-get system etc. as you say.
I don't think that will be a problem. In am sure the Debian maintainer of most chess packages in Debian/Ubuntu (Oliver Korff) will be very interested in this.