bug-gnubg
[Top][All Lists]
Advanced

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

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


From: Nardy Pillards
Subject: Re: [Bug-gnubg] How to compile with Win32 - Updated
Date: Wed, 20 Nov 2002 20:46:21 +0100

> A few more comments below:

> >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
> setup.
>
> 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
> directory.

I'll check those out. Thank you.

> >====================================================================
> >
> >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 \
>   -I/MinGW/include/libxml2
>
> 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.

O2 and Os are optimilisation parameters. Os reduces the space of the
resulting .exe a bit more than O2 thus.

> [snip]
>
> >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%
>
> Regards,
>
> Holger

The DOS window PATH= parameters 'disappear' once the DOS window is closed
(at least with WinME that is).
But it is a good idea to change the set PATH to:

set PATH = C:\mingw\bin;C:\mingw\lib;%PATH%

yep.

Nardy





reply via email to

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