On 2006-01-12 18:37:02 -0500 Daniel J Farrell
<daniel.farrell@imperial.ac.uk> wrote:
Hello everybody.
Welcome to our merrie bande. :-)
I have used Synaptic to install GNUstep on Ubuntu under advice
from ( http://gnustep.blogspot.com/ ). But now I'm not too sure
where I am up to in the installation!
What steps to I need to take to be able to use gnustep in my code
from here?
Is the idea of gnustep to provide a whole working (IDE)
environment? Or for example can just I use the base framework/
library and link to that from the command line? What is the
linking flag for the gcc compiler?
There are several options available to you. First, you can use the
ProjectCenter IDE to organize your source files and build them (it
will generate project files that define how your application is
built). It's in the GNUstep CVS repository, under the dev-apps
project (ftp://ftp.gnustep.org/pub/daily-snapshots/dev-
apps.current.tar.bz2 is the daily snapshot). I'm not sure if the
Ubuntu package system has it or not.
Your second option is to create your own GNUmakefiles and run
'make' from the command line. There are two excellent makefile
tutorials by Nicola Pero:
http://www.gnustep.it/nicola/Tutorials/WritingMakefiles/
http://www.gnustep.it/nicola/Tutorials/MoreOnMakefiles/
Finally, you could run gcc with all the necessary options yourself,
but I don't think anybody does this. It's really better to use the
GNUstep makefile package (the GNUmakefiles include a lot of stuff
in $GNUSTEP_SYSTEM_ROOT/Library/Makefiles that does all manner of
setup). This is especially important because the makefile package
figures out a lot of things that differ from one GNUstep
installation to another. It kind of takes the place of the
standard GNU configure script.