• 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: Chris Espinosa <email@hidden>
  • Date: Sat, 9 Jul 2005 08:22:35 -0700

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

_______________________________________________
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


  • Follow-Ups:
    • Re: Weak linking doesn't work
      • From: David Dauer <email@hidden>
References: 
 >Weak linking doesn't work (From: David Dauer <email@hidden>)

  • Prev by Date: Re: Traceback table question
  • Next by Date: Re: Problem setting dependencies to custom framework
  • Previous by thread: Weak linking doesn't work
  • Next by thread: Re: Weak linking doesn't work
  • Index(es):
    • Date
    • Thread