[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] How to compile with Win32 - Updated

From: Holger
Subject: Re: [Bug-gnubg] How to compile with Win32 - Updated
Date: Wed, 20 Nov 2002 18:57:42 +0100

Hi Nardy,

It worked at home under Win95, too.

A few more comments below:

At 14:05 20.11.02 +0100, Nardy Pillards wrote:
>The updated 'How to':
>Compile/Link GNU Backgammon (WIN32)
>Unpack or CVS the GNU Backgammon sources to [dir]\gnubg
>(whatever directory, e.g.: C:\gnubg)
>Copy DLLs (only needed once)
>Copy DLLs into [dir]\gnubg
>libiconv.dll (from c:\mingw\bin)
>libglib-2.0-0.dll (from c:\mingw\lib)
>libintl-1.dll (from c:\mingw\lib)

This is/was not necessary for compiling.

>Copy gdbm.dll into [installed dir of GNU Backgammon]
>gdbm.dll (from c:\mingw\bin)

For running the program I had to copy \MinGW\bin\gdbm.dll,
\MinGW\bin\libiconv.dll and \MinGW\bin\libintl.dll to the game install
directory. The remaining libraries should be there already from Oystein's

I don't know whether it's better to copy \MinGW\lib\libintl-1.dll. But then
it's necessary to rename the file to libintl.dll in the game install

>Download Makefile, lib\Makefile and config.gui

One gtk entry of your includes is not necessary. This is what I have now:
INCLUDE = -I. -I./lib \
          -I/MinGW/lib/gtk+/include \
          -I/MinGW/lib/glib-2.0/include \
          -I/MinGW/include/glib-2.0 \

Btw, Oystein seems to compile with -O2, you with -Os. I'll have to look up
the difference. I didn't download the manual yet.


>Open a DOS Window and go to [dir]\gnubg
>To do so, type in the DOS Window:
>cd c: {ENTER}
>cd gnubg {ENTER}

>nardy {ENTER}

Why don't you use the following instead of hard-setting the path in the
batch file?
set PATH=J:\MinGW\bin;%PATH%



reply via email to

[Prev in Thread] Current Thread [Next in Thread]