• 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
Re: ARCHS_i386 not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ARCHS_i386 not working


  • Subject: Re: ARCHS_i386 not working
  • From: Chris Espinosa <email@hidden>
  • Date: Tue, 10 Oct 2006 20:16:35 -0700


On Oct 10, 2006, at 6:12 PM, Walter wrote:

I'd like to build universal binaries from my development machine (Intel

processor).  For our current released versions, the builds must be ppc only.


I tried setting "ARCHS_i386 = i386 ppc", but on the Intel machine it doesn't

build a universal binary or compile for ppc.


Does anyone know how to correct this issue?


Trying to set the Intel arch specific flags to build PPC is only going to confuse things badly.

First, you need to decide how you're going to distinguish between "building for my development machine" and "current released version".  Usually that's done with build configurations.  You build the Debug configuration on your desktop, and your Release organization builds the Release configuration.  You simply set the ARCHS in Debug to build ppc i386, but in Release set it to ppc.

What you really want, though, is "on a development machine, build it thin native." So for your Debug configuration, set ARCHS to $(NATIVE_ARCH).  That means that Debug builds will build only the architecture for the machine they're built on.  For Release, leave it at 'ppc'.

Better yet, for your Release configuration, you could (at the Project level) set VALID_ARCHS to 'ppc'.  That throttles ARCHS to only the architectures in ARCHS that are in VALID_ARCHS.  So no matter what you set your architecture to be, your release configuration will always build PPC only (or nothing at all!)

Chris
 _______________________________________________
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

References: 
 >ARCHS_i386 not working (From: Walter <email@hidden>)

  • Prev by Date: Re: query in OpenGL
  • Next by Date: re: XCode crashes constantly
  • Previous by thread: Re: ARCHS_i386 not working
  • Next by thread: query in OpenGL
  • Index(es):
    • Date
    • Thread