Where is weak linking?
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