• 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
Per-architecture SDK
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Per-architecture SDK


  • Subject: Per-architecture SDK
  • From: Fritz Anderson <email@hidden>
  • Date: Mon, 13 Jun 2005 16:21:36 -0500

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


  • Follow-Ups:
    • Re: Per-architecture SDK
      • From: Fritz Anderson <email@hidden>
    • Re: Per-architecture SDK
      • From: Scott Tooker <email@hidden>
  • Prev by Date: Where is the line drawn?
  • Next by Date: Re: not-used-in-precomps
  • Previous by thread: Re: Where is the line drawn?
  • Next by thread: Re: Per-architecture SDK
  • Index(es):
    • Date
    • Thread