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.
libgaviota?
Moderator: Ras
-
- Posts: 6401
- Joined: Thu Mar 09, 2006 8:30 pm
- Location: Chicago, Illinois, USA
Re: libgaviota?
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.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.
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
-
- Posts: 2292
- Joined: Mon Sep 29, 2008 1:50 am
Re: libgaviota?
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.It will be useful for the users only if that library is readily accessible through the apt-get system etc. as you say.