• 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
Trying to understand VALID_ARCHS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Trying to understand VALID_ARCHS


  • Subject: Trying to understand VALID_ARCHS
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Wed, 26 May 2010 11:14:41 +0200

Hello,

I'm trying to compile a Universal binary with a 32 background process, both in the same project.

In my 32 bit target, I set VALID_ARCHS=i386
But when I build the project, Xcode try to build a 64 bit version of the 32 bit target (and failed)

So my question is: What the purpose of VALID_ARCHS.

/// This is my 32bit target settings:
ARCH = $(ARCHS_STANDARD_32_64_BIT)
SDKROOT = macosx10.6
ONLY_ACTIVE_ARCH = NO
VALID_ARCHS = i386

And in the transcript, I get
	gcc -x objective-c -arch x86_64 …


-- Jean-Daniel




 _______________________________________________
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: Trying to understand VALID_ARCHS
      • From: Dave Keck <email@hidden>
  • Prev by Date: [ANN] PackageMaker 3 Step-by-Step instructions
  • Next by Date: Re: Trying to understand VALID_ARCHS
  • Previous by thread: [ANN] PackageMaker 3 Step-by-Step instructions
  • Next by thread: Re: Trying to understand VALID_ARCHS
  • Index(es):
    • Date
    • Thread