• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Weak linking doesn't work
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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).
According to http://developer.apple.com/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/WeakLinking.html the FW should not be linked in the build... very strange.

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

References: 
 >Weak linking doesn't work (From: David Dauer <email@hidden>)
 >Re: Weak linking doesn't work (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: Problem setting dependencies to custom framework
  • Next by Date: Re: Problem setting dependencies to custom framework
  • Previous by thread: Re: Weak linking doesn't work
  • Next by thread: Asm blocks not working?
  • Index(es):
    • Date
    • Thread