On Thu, Sep 3, 2009 at 12:47 PM, David Duncan<david.dun...@apple.com> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to