- 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