Installation on Windows

From GNUstepWiki

(Difference between revisions)
Revision as of 09:49, 16 March 2005
Sheldon (Talk | contribs)
Install ffcall
← Previous diff
Revision as of 15:16, 26 March 2005
Bheron (Talk | contribs)
Install ffcall
Next diff →
Line 74: Line 74:
make make
make install make install
 +Alternatively, a zip containing a ffcall-1.9 is availabe here:
 +Unzip it into $GNUSTEP_SYSTEM_ROOT/Library
== Install additional libs == == Install additional libs ==

Revision as of 15:16, 26 March 2005


Install MinGW

Download MinGW-3.2.0-rc-3 or later from Install it into


(where /xxx/ is the top-level path you want to use, I use Nicola/GNUstep so I install it into C:/Nicola/GNUstep/msys/1.0/mingw) (earlier versions of MinGW won't work)

Install msys

Download MSYS-1.0.10 or later from the same site. Install it into C:/xxx/msys/1.0 The postinstall script should ask you for the mingw location, then detect it and be happy that it's there and all is setup properly.

Install msys developer toolkit

Download msysDTK-1.0.1 or later from the same site. Install it into


Now your MSYS/MinGW system should be setup! Go around and make sure you know how to use the Unix-like shell. Log into it and work in it.

Download gnustep using cvs

Install GNUstep make

go in core/make and do

./configure --prefix=/C/xxx/GNUstep
make install

Setup your GNUstep environment

(you will need to do the same every time you start up your MSYS shell to do development)

. /C/xxx/GNUstep/System/Library/Makefiles/

Also, set HOMEPATH, HOMEDRIVE and HOME ... add the following lines to your ~/.profile:

export HOMEPATH=/home/Nicola
export HOME=/C/xxx/msys/1.0/home/Nicola
. /C/xxx/GNUstep/System/Library/Makefiles/

(obviously replacing 'Nicola' with your Login name) (not sure if this setting of HOMEDRIVE etc is really required, will investigate)

Install the ObjC runtime

Download gnustep-objc, and compile it

make install

sheldon: Actually, recent versions of gcc (3.2+) have a working libobjc on Windows so this step probably isn't strictly necessary.

Reinstall GNUstep make (with ObjC this time

go in core/make and reconfigure/recompile again so that gnustep-objc is detected:

make distclean
make install

gnustep-make should have detected your custom libobjc.

Install ffcall

Download ffcall from the GNUstep website, or from here:, and type:

./configure --prefix=$GNUSTEP_SYSTEM_ROOT
make install

Alternatively, a zip containing a ffcall-1.9 is availabe here:

Unzip it into $GNUSTEP_SYSTEM_ROOT/Library

Install additional libs

Download the following packages:

Download libintl

Download libiconv 

Download zlib

from, and install them. To install them, simply unzip them into


Install XML support

XML support not working yet, step omitted

Install GNUstep base

go in gnustep-base, and type

./configure --disable-xml
make install

Install addditional GUI libs

for the gui, download and install the following packages:

Download jpeg

Download tiff

Download libpng

The process is always the same: download the zip file from the gnuwin32 website, then unzip them into


Install GNUstep gui

go in the gui, and type:

 make install

Install GNUstep back

go in back, and type:

 make install

Check the installation

go in a simple gui application (examples/gui a very good starting point), compile and run it. :-)

based on a mail from Nicola Pero