• 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
Where is weak linking?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Where is weak linking?


  • Subject: Where is weak linking?
  • From: Michael Casteel <email@hidden>
  • Date: Wed, 24 Aug 2005 23:51:28 -0700

I am using one 10.3 API (CGSetShadow) in my program, but would like to
support 10.2, so I test for the OS version before calling CGSetShadow.

In my build options, I have set the Mac OS X Deployment Target to 10.2.
Following the advice in another posting, I also added a build setting,
MACOSX_DEPLOYMENT_TARGET_ppc, to 10.2. In a script build step, I see the
environment variables being set (with and without the _ppc).

It still won't load on Jaguar, undefined symbol.

Do I need to do anything else to get _CGSetShadow weak-linked?

The objects are being generated by assembler, my script steps are
translating pascal to assembler and I let the Assembler rule (overridden
with GCC 3.3) take it from the output.

Is there a way I can inspect the object file to tell if it is
weak-linked, e.g. otool? Maybe save some reboots into 10.2 to check.
--
Mike Casteel
email@hidden                   Seattle, WA
 _______________________________________________
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

  • Prev by Date: Re: Unable to Update Components(NSButton, NSOutllineView and NSTableView) when I Expand or Shrink My Window
  • Next by Date: Is there any tool in Interface Builder like Splitter?
  • Previous by thread: Re: Unable to Update Components(NSButton, NSOutllineView and NSTableView) when I Expand or Shrink My Window
  • Next by thread: Is there any tool in Interface Builder like Splitter?
  • Index(es):
    • Date
    • Thread