Build GNUstep with msys/mingw-w64
Écrit par Vincent Richomme   
16-03-2010


Building the Foundation

$> svn co http://svn.gna.org/svn/gnustep/libs/base/trunk/ gnustep-base
$> ./configure --prefix=/GNUstep --enable-libffi --with-config-file=${MSYS_FULLPATH}/GNUstep/GNUstep.conf --with-installation-domain=SYSTEM
$> make GNUSTEP_INSTALLATION_DOMAIN=SYSTEM 2>&1 | tee make_log.txt
$> make install GNUSTEP_INSTALLATION_DOMAIN=SYSTEM 2>&1 | tee install_log.txt

configure is a bit broken so need to edit Headers/Additions/GNUstepBase/config.h
to define HAVE_SOCKLEN_T 1.
(PS : config file is moved to Source folder when we enter make)

Building GUI base

$> svn co http://svn.gna.org/svn/gnustep/libs/gui/trunk/ gnustep-gui
$> ./configure --prefix=/GNUstep
$> make
$> make install GNUSTEP_INSTALLATION_DOMAIN=SYSTEM

Building GUI backend

$> svn co http://svn.gna.org/svn/gnustep/libs/back/trunk/ gnustep-back
$> cd gnustep-back
$> ./configure --prefix=/GNUstep --enable-server=win32 --enable-graphics=cairo --with-name=cairo
$> make
$> make install GNUSTEP_INSTALLATION_DOMAIN=SYSTEM

NOTE : avoid to pass --with-name for now because by default GNUstep is loading backend with default name