bug-gnustep
[Top][All Lists]
Advanced

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

Re: [RFC/make] Extend Framework support II


From: Nicola Pero
Subject: Re: [RFC/make] Extend Framework support II
Date: Fri, 12 Mar 2004 02:44:31 +0000 (GMT)

> > >>OK, so here's my second try :-)
> > > Maybe we could change the default GNUSTEP_INSTALLATION_DIR on Apple to be
> > > '/', and the default directory structure to match more closely the Apple
> > > one (if there is a need), so that default installation procedures should
> > > work well even for bundles and such.  That looks like a good idea to me.
> > > Does it look like a good idea to you ?
> >
> > Agreed.
> 
> Definitely.  The default (apple-apple-apple) should be:
> ---------------------------------
> # System paths
> GNUSTEP_SYSTEM_ROOT  = /System
> GNUSTEP_NETWORK_ROOT = /Network
> GNUSTEP_LOCAL_ROOT  = /
> 
> # GNUstep preferences
> USER_GNUSTEP_DEFAULTS = Preferences
> USER_GNUSTEP_RC  =
> ---------------------------------

What I meant was much more radical than this though. :-)

I don't think GNUSTEP_SYSTEM_ROOT, GNUSTEP_NETWORK_ROOT, 
GNUSTEP_LOCAL_ROOT make any sense on apple-apple-apple.

On apple-apple-apple, you just use your Apple.  You have no GNUstep
installed.  There is no GNUstep installation.

If you are a developer, you might have installed gnustep-make somewhere on
your harddisk, presumably in your home directory.  That is a "gnustep-make
installation", not a "GNUstep installation", even if the directory
structure might be similar.

When you build stuff using your gnustep-make installation, then you set
GNUSTEP_INSTALLATION_DIR to be '/' (or '~').  Then the GNUmakefiles will
install stuff in '/' or '~', that is on the Apple directories.  You don't 
install anything in your gnustep-make installation.

The stuff installed, frameworks and applications, should be native Apple 
stuff.

Of course the catch is that you shouldn't compile anything as a library,
everything should be an apple framework, even stuff which would be a
library normally on GNUstep.  For example, -baseadd should be a framework.
The natural thing to do this is to use native-library.make btw.

So the only default I would change is GNUSTEP_INSTALLATION_DIR, which I'd 
point to '/' on apple-apple-apple.

The rest is irrelevant, as it's your own gnustep-make installation which
you can put wherever you want, and unless you're compiling stuff from
sources using GNUmakefiles, you don't need gnustep-make at all.





reply via email to

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