Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Trying to compile Gerbil with gcc

Author: Bruce Moreland

Date: 19:21:37 12/15/01

Go up one level in this thread


On December 15, 2001 at 21:36:42, Jeff Lischer wrote:

>For fun, I've been trying to compile Bruce Moreland's Gerbil. I'm using the
>mingw32 gcc on windows. Now I see that the Gerbil makefile is set up for nmake
>and cl.exe.
>
>Does anyone know if there is a makefile for gcc that I can use instead? If not,
>are there any other ways to try compiling it in gcc?

No.  Someone sent me email telling me that they were doing this, but I don't
know if they necessarily got it working.

There are two targets, gerbil.exe and epd2wb.exe.

epd2wb.exe is build from epd2wb.c and answer.c, with just a normal console
program compile.

gerbil.exe is built from everything in the winboard subdirectory and everything
in the engine subdirectory, same thing.

There could be a small problem with __int64, which I use, and which could be
replaced by "long long" under Gnu.  Gnu might also get mad about my "//" style
comments.

It is a Windows app, so it uses NT threads, but that has little to do with how
you'd build it.

If someone wants to make a version that works under Linux or something, you'd
have my full support in a moral sense, meaning that I wouldn't tell you to go
away if you asked me questions, and I'd include the version in the Gerbil
release.

bruce




This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.