Re: Weak linking doesn't work
Re: Weak linking doesn't work
- Subject: Re: Weak linking doesn't work
- From: David Dauer <email@hidden>
- Date: Sat, 9 Jul 2005 17:30:19 +0200
Am 09.07.2005 um 17:22 schrieb Chris Espinosa: On Jul 9, 2005, at 7:46 AM, David Dauer wrote:
I want to use the QuarzCore framework in a project that should also run under 10.3. So I changed the Mac OS X Deployment Target setting to Mac OS X 10.3 and added "-weak_framework QuartzCore" to the Other Linker Flags. (In all configurations)
In a Debug build the framework is not linked (checked with otool -L) but in a release build it's there but I've no idea why.
Any ideas or suggestions?
Does your debug build use ZeroLink? If so, then the "linking" is done dynamically at run time; the only thing linked into your Zero Link executable is the ZeroLink framework itself. Even your application's object code still resides on .ob files in your Intermediates directory; it's not in the application's executable.
Chris
Yes ZeroLink is enabled. But I don't think that it's important becasue it's not enabled in the release build. The release build should run under 10.3 (which it doesn't at the moment).
David |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden