Re: Per-architecture SDK
Re: Per-architecture SDK
- Subject: Re: Per-architecture SDK
- From: Fritz Anderson <email@hidden>
- Date: Mon, 13 Jun 2005 17:55:58 -0500
On 13 Jun 2005, at 4:21 PM, Fritz Anderson wrote:
I've verified the following settings by putting an empty shell-
script phase in the target:
setenv SDKROOT
setenv SDKROOT_i386 /Developer/SDKs/MacOSX10.4u.sdk
setenv SDKROOT_ppc /Developer/SDKs/MacOSX10.3.9.sdk
The i386 link fails (the PPC does not) with many complaints about
not being able to find basic Cocoa classes, ObjC runtime routines,
etc. It can't find the 10.4u stubs.
From this I infer that the linkage phase is using SDKROOT, and not
SDKROOT_i386, as the prefix for the framework lookup.
When no attempt at per-architecture settings is made, and I simply
use the popup on the General pane to point them both at 10.4u, the
linkage goes through cleanly.
I should note that what I did was to clear the SDKROOT setting that
was created by choosing an SDK. If I leave SDKROOT alone, set at the
10.4 universal, and additionally set the per-architecture SDKs as
above, the -isysroot flag gets passed to ld as desired, and the
target builds properly.
I was too cagey for my own good.
-- F
_______________________________________________
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