[Top][All Lists]

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

Re: [RFC] Header organization of -base & -gui

From: David Ayers
Subject: Re: [RFC] Header organization of -base & -gui
Date: Wed, 02 Jul 2003 13:18:37 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030507

Markus Hitter wrote:

Am Dienstag, 01.07.03 um 21:36 Uhr schrieb Adam Fedor:

The files are all part of the base library, not additions to it

In some cases, it might make sense to use/compile only parts of it as with the apple-apple-* combo.

Let me try to clarify this. -base implements the FoundationKit as defined by OPENSTEP plus many of the extensions found in the current Cocoa Foundation. To be compatible in the sense that "user" code can compile code against both Apple's Foundation and -base, -base installs a directory called Foundation which includes all NS*.h files also found in Cocoa's Foundation.

Now gnustep-base has extensions of it's own (GSMime, GSXML, ...) In all *-gnu-* variants of -base (ie. when the "Foundation-compatible" library is gnustep-base, these extensions are compiled into libgnustep-base library. For apple-apple-* -base offers the possibility to be compiled with add=yes so that only the extensions are compiled into a library calls libgnustep-baseadd.

Independant of these two configurations, the public headers of these gnustep extensions should all be installed in Headers/gnustep/base (This is currently the case for most GS*.h files but not for all.) There should be no reason to installl any GS*.h headers into Foundation. My proposal was to fix the GS*.h headers that are currently installed in Foundation to be installed to gnustep/base where they belong

Practically, we're only suppling the base-additions library for macosx.

Which is great: You can use GDL2 on OS X without installing GNUstep. Just check out gnustep-base/Source/Additions, compile it into a framework and there you go (slightly idealized).

Actually the point was to install -make, -baseadd and -gdl2. It seems building-baseadd on apple-apple-* was broken but should be fixed now. (Unless there is still something with behaviors as Adam mentioned, but as I don't have OS X, I'd need further information on what exactly is going wrong.)

Before I heard of -baseadd I had to collect my own version of it and I still have to change a lot of #includes in GDL2.

There should be no need to change anything in gdl2, if you install -make and -baseadd as they are currently meant to be installed. If there is, please let me know and I'll try to fix it.


reply via email to

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