Soeme remarks on the new Toga release

Discussions about Winboard/Xboard. News about engines or programs to use with these GUIs (e.g. tournament managers or adapters) belong in this sub forum.

Moderator: Andres Valverde

Soeme remarks on the new Toga release

Postby Volker Pittlik » 20 Aug 2007, 05:34

To compile it error free under Linux I had to change probe.cpp:

Code: Select all
// includes

//VP next line commented out
//#include <windows.h>

//VP next 4 lines added
#include <unistd.h>
#include <string.h>
#include <iostream>
#include <dlfcn.h>

#include "util.h"


(line 4 ff)

and

Code: Select all
   strcat(path,EGBB_NAME);
   if (hmod)
//VP FreeLibrary is needed for Windows, dlclose for Linux
//      FreeLibrary(hmod);
      dlclose(hmod);


(around line 54).

"-ldl" had to be added to the linker flags.

Using gcc with -O3 I got 585 knps. With the Intel compiler I got 850 knps after a profiled compilation and -ipo.

However egbbs are still not loaded here:

Code: Select all
volker@vpittlik:~/schach/toga-1.3-neu> ./fruit_toga
Toga II 1.3.4 UCI based on Fruit 2.1 by Thomas Gaksch and Fabien Letouzey. Settings by Dieter Eberle
EgbbProbe not Loaded!
 


Volker
User avatar
Volker Pittlik
 
Posts: 1031
Joined: 24 Sep 2004, 10:14
Location: Murten / Morat, Switzerland

Return to Winboard and related Topics

Who is online

Users browsing this forum: No registered users and 38 guests