bug-gnustep
[Top][All Lists]
Advanced

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

Re: [RFA/make] Extend Framework support


From: David Ayers
Subject: Re: [RFA/make] Extend Framework support
Date: Wed, 10 Mar 2004 18:43:45 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113

Nicola Pero wrote:

Hello everyone,

unless someone objects, I'd like to check this in soon.

It adds support to pass -F <standard GNUstep framework directories> on platforms/compilers which support it (ie Apple).

Is there any advantage in doing so ?  The standard Apple framework
directories are scanned anyway without the need to pass -F.

Ah, but GNUstep isn't necessarily configured to install into the standard Apple framework directories. In fact by default I think it also uses the /usr/GNUstep prefix. (In my case it's even configured to ~/GNUstep as this is not my machine I'm testing with. :-) )


Are you talking of gnu-gnu-gnu or apple-apple-apple ?

If you're using apple-apple-apple, you just want to use gnustep-make to
compile your stuff into Apple native frameworks/bundles/apps, then you
want to drop those into the Apple native framework/bundle/app directories,
like everything else.  At least, this is how I'd imagine it, then
everything works out of the box and you got stuff you can use and
distribute as native Apple stuff.


Yes, I'm actually talking about apple-apple-apple. Then maybe we should change the default prefix for this library combo. OTOH, I kind of like the idea of being able to configure a different --prefix/GNUSTEP_ROOT even on apple-apple-apple and I'd like -make to honor that, but...

Btw, I suppose you also need to set some sort of library path for
frameworks, otherwise the frameworks might be found at link time if you
add the -F flags, but won't be found at runtime because the frameworks are
in some obscure gnustep directory.

... ahh, yes indeed, this is the case. So I guess, I'll retract my patch. I'll ponder a bit more about the situation... But I'm wondering whether we should try to default GNUSTEP_ROOT=/ instead of /usr/GNUstep on Darwin then. Or at least warn about it. (And I wonder whether whether --prefix=~ could work...)

Thanks for your feedback.  I'll test some more tomorrow, maybe.

Cheers,
David





reply via email to

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