Weak Linking A Universal App
Weak Linking A Universal App
- Subject: Weak Linking A Universal App
- From: Nick Nallick <email@hidden>
- Date: Fri, 24 Mar 2006 15:07:31 -0700
I have a app that I've built and deployed with GCC 4 and the 10.4 SDK
for PPC and Intel. Now I'm trying to set the deployment of the PPC
side to 10.3.9 and later. The app uses 10.4 only calls after
confirming their existence at runtime. Unfortunately Xcode doesn't
seem to be weak linking these symbols. When I run the app under
10.3.9 it fails to start with a lot of undefined 10.4 symbol errors
in the console. I don't think it matters but I'm also using the
QuartzCore framework which I believe is Tiger only.
I thought the deployment target would determine what symbols were
weak linked, but apparently I'm wrong or something else isn't set
right. Can somebody give some pointers please?
I'm using the following build settings.
Project:
SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk
MACOSX_DEPLOYMENT_TARGET_i386 = 10.4
MACOSX_DEPLOYMENT_TARGET_ppc = 10.3.9
Target:
MACOSX_DEPLOYMENT_TARGET = $(inherited)
Thanks,
Nick
_______________________________________________
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