bug-gnustep
[Top][All Lists]
Advanced

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

Re: [RFC]: Darwin framework patch


From: Nicola Pero
Subject: Re: [RFC]: Darwin framework patch
Date: Sat, 16 Apr 2005 11:32:19 +0100 (BST)


I think there has been some discussion of this and 'true' framework support on darwin before. There's a rambling statement in ld_lib_path.sh about how the darwin linker is misbehaving, but really it is our fault. When we link the framework (target.make:310) we set the install_name to the framework name, and dyld is smart to look for the library under that name rather than the actual link name (but only if DYLD_FRAMEWORK_PATH is set, of course, will it find it).

Two alternative solutions to avoid this dilemma would be to:

1. set the install_name to lib$(GNUSTEP_INSTANCE), so that it works like all other platforms 2. set the install_name to the absolute path to the framework (this is how Apple does it, but we don't necessarily know until install time where that is).

Well, in the mean time, perhaps I'll just apply this patch. It doesn't change any behavior, it just makes the current (perhaps in some people's opinion, broken) behavior work.

This patch is really welcome, I'm not sure the alternative solutions are really better.

Yes ... looks good :-)

... the most important thing is adding extensive comments so we'll remember how/why it was done that way.




reply via email to

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