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

Re: native architecture


  • Subject: Re: native architecture
  • From: Christiaan Hofman <email@hidden>
  • Date: Fri, 3 Dec 2010 11:04:29 +0100

On Dec 3, 2010, at 2:19, John Nairn wrote:

> I think my Mac with Dual-Core Intel Xeon processors is a 64 bit machine, but when I set the architectures (of both project and target) to $(NATIVE_ARCH) it creates a 32 bit version (as identified by lipo as i386). I can set the architecture to x86_64 and get and run a 64 bit version (verified by lipo), but why is the "Native Architecture of Build Machine" not equal to the native architecture of my build machine?
>
> This was all in XCode 3.1.4 on a machine still using Leopard (10.5.8).
>
> ---------------
> John Nairn (1-541-737-4265, FAX:1-541-737-3385)
> Professor and Richardson Chair
> Web Page: http://www.cof.orst.edu/cof/wse/faculty/Nairn/
> FEA/MPM Web Page: http://oregonstate.edu/~nairnj

First of all, your machine is Intel, 64 or 32 bit is more a matter of software (system), your machine runs both. Notice that the description of your processor does not contain the word 64-bit. NATIVE_ARCH always runs 32 bits. I think this is mostly because PPC 64 bits was never really working, even if it is supported, and moreover Leopard runs in 32-bit by default, AOT SL. If you want to have the same arch type for the highest bit size (64), you should use NATIVE_ARCH_ACTUAL. This is what later versions of Xcode also use for "Native Architecture of the Build Machine".

Christiaan

 _______________________________________________
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: native architecture
      • From: Jay Vaughan <email@hidden>
References: 
 >native architecture (From: John Nairn <email@hidden>)

  • Prev by Date: native architecture
  • Next by Date: Re: native architecture
  • Previous by thread: native architecture
  • Next by thread: Re: native architecture
  • Index(es):
    • Date
    • Thread