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


From: Nardy Pillards
Subject: Re: [Bug-gnubg] How to compile with Win32
Date: Tue, 19 Nov 2002 17:58:01 +0100

Compile/Link GNU Backgammon (WIN32)


Zip/UnZip and Tar/UnTar:
-----------------

7-zip
http://www.7-zip.org/

====================================================================

Sources:

1. MinGW (SourceForge)
http://sourceforge.net/project/showfiles.php?group_id=2435
MinGW-1.1.tar.gz (MinGW 1.1)
(notes: http://sourceforge.net/project/shownotes.php?release_id=53765)
   This release bundles
 gcc-2.95.3-20010828
 binutils-2.11.90-20010915
 mingw-runtime-1.1
 w32api-1.1
 make-3.79.1-20010722)

-----------------

2. SourceForge (SF)
http://sourceforge.net/project/showfiles.php?group_id=23617

libiconv-1.7-bin.zip (iconv bin)
libiconv-1.7-lib.zip (iconv lib)
libxml2-2.4.12-bin.zip (xml2 bin)
libxml2-2.4.12-1-lib.zip (xml2 lib)
gdbm-1.8.0-bin.zip (gdm bin)
gdbm-1.8.0-lib.zip (gdbm lib)
libintl-0.10.40-20020101.zip (libintl)

-----------------

3. GIMP (G)
http://www.gimp.org/~tml/gimp/win32/downloads.html

gtk+-1.3.0-20020922.zip (gtk+ 1.3)
gtk+-dev-1.3.0-20020912.zip (gtk+ 1.3 dev)
glib-2.0.6-20020802.zip (glib 2.0)
glib-dev-2.0.6-20020802.zip (glib 2.0 dev)
libintl-0.10.40-tml-20020904.zip (libintl)
(remark: unpack this one AFTER the one from SF)
(some changes to libintl-1.dll for gtk)

====================================================================

Installation

1. MinGW 1.1
Unpack MinGW 1.1 with 7-zip into C:\mingw
( IF you opt for a DIFFERENT DRIVE(letter), see IMPORTANT down under )

-----------------

2. SF packages (unpack with 7-zip into c:\mingw)
iconv bin
iconv lib
xml2 bin
xml2 lib
gdm bin
gdbm lib
libintl

-----------------

3. G packages (unpack with 7-zip into c:\mingw)
gtk+ 1.3
gtk+ 1.3 dev
glib 2.0
glib 2.0 dev
libintl (yep, second time this one. 'overwrite?' YES)

====================================================================

Fetch the GNU Backgammon sources

Either download the daily Snapshot:
ftp://alpha.gnu.org/gnu/gnubg/snapshots/

or use the CVS repository:
Look for "Anonymous CVS access" at
http://www.gnu.org/software/gnubg/gnubg.html

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\lib)
libglib-2.0-0.dll (from c:\mingw\lib)
libintl-1.dll (from c:\mingw\lib)

-----------------

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

====================================================================

Download Makefile, lib\Makefile and config.gui
Makefile (download to [dir]\gnubg):
http://users.skynet.be/bk228456/Makefile

lib/Makefile (download to [dir]\gnubg\lib):
http://users.skynet.be/bk228456/lib/Makefile

config.gui (download to [dir]\gnubg):
http://users.skynet.be/bk228456/config.gui

nardy.bat (download to [dir]\gnubg):
http://users.skynet.be/bk228456/nardy.bat

-----------------

IMPORTANT:
If you did NOT unpack MinGW into C:\mingw, you will have to adapt nardy.bat.
Change occurences of C:\mingw into drive(letter):\mingw.
(and maybe you have to change c:\windows and c:\windows\system too)
====================================================================

Compiling a new build

Get the latest Snapshot and unpack to your [dir]\gnubg
or Check Out / Update if using CVS

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}

(change 'c:' and 'gnubg' if you opted for another [dir]\gnubg)

gnubg.exe will be build.
rename gnubg.exe to gnubg-yymmdd.exe and copy to the folder of your
installed GNU Backgammon for Windows.

============================================================================
=============

Final remark....
You need to install GNU Backgammon for Windows first :-)
URL:
http://home.online.no/~oeysteij/

Louis Nardy Pillards





reply via email to

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