• 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: Getting a StringPtr from Gestalt on 64-bit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting a StringPtr from Gestalt on 64-bit


  • Subject: Re: Getting a StringPtr from Gestalt on 64-bit
  • From: Kyle Sluder <email@hidden>
  • Date: Thu, 3 Sep 2009 14:41:36 -0700

On Thu, Sep 3, 2009 at 12:47 PM, David Duncan<email@hidden> wrote:
> The kernel you are booted into has no effect on the binaries that will
> launch. However, your project settings will determine what build is
> launched, and older projects will often have i386 as default (a newly
> created project shows that x86_64 is shown by default on my machine).

To elaborate a bit more on this (cause it bit me a few weeks ago):

On x86_64, the $(NATIVE_ARCH) macro expands to i386.  This is
documented in the Xcode 3.0 release notes (I think) to maintain
compatibility with older Xcode projects.  Otherwise you'd open an
Xcode 2.5 project in Xcode 3.0 and get different behavior.  Nowadays
$(NATIVE_ARCH_ACTUAL) is the macro you want to use for "no, really, I
want 64-bit if you can do it".

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Getting a StringPtr from Gestalt on 64-bit (From: Scott Lahteine <email@hidden>)
 >Re: Getting a StringPtr from Gestalt on 64-bit (From: Clark Cox <email@hidden>)
 >Re: Getting a StringPtr from Gestalt on 64-bit (From: Scott Lahteine <email@hidden>)
 >Re: Getting a StringPtr from Gestalt on 64-bit (From: David Duncan <email@hidden>)

  • Prev by Date: Re: Does -[NSFileManager attributesOfItemAtPath:error:] traverse symlinks?
  • Next by Date: Re: Does -[NSFileManager attributesOfItemAtPath:error:] traverse symlinks?
  • Previous by thread: Re: Getting a StringPtr from Gestalt on 64-bit
  • Next by thread: FW: Image Problem
  • Index(es):
    • Date
    • Thread