Re: Per-architecture SDK
Re: Per-architecture SDK
- Subject: Re: Per-architecture SDK
- From: Scott Tooker <email@hidden>
- Date: Mon, 13 Jun 2005 15:11:46 -0700
Please file a bug.
Scott
On Jun 13, 2005, at 2:21 PM, Fritz Anderson wrote:
So I've been trying various approaches to getting per-architecture
settings for SDKs on Xcode 2.1
Where I started was, I set custom settings:
SDKROOT_ppc /Developer/SDKs/MacOSX10.3.9.sdk
SDKROOT_i386 /Developer/SDKs/MacOSX10.4u.sdk
(paths by dropping the folders into the setting fields, so they
should be right). The setting was made at the project level, all
configurations. I verified that all targets inherited these values
in all configurations. I build for i386 only on the Release
configuration.
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.
Have I missed something, or should I report a bug?
-- 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
_______________________________________________
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