• 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: Can't build Release for x86_64
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't build Release for x86_64


  • Subject: Re: Can't build Release for x86_64
  • From: Jim Correia <email@hidden>
  • Date: Tue, 17 Mar 2009 17:24:09 -0400

On Mar 17, 2009, at 5:14 PM, Brian Ondov wrote:

I'm running XCode 3.0 on a Mac Pro Xeon.

Unless you have a specific reason for staying on 3.0, you should probably upgrade to the current release (3.1.2 as of this writing.)


To make a 64 bit build, I set the "Architectures" string to "i386 x86_64", then I chose x86_64 from the Project -> Set Active Configuration menu, and it built and ran as 64 bit fine (for Debug).

When I do exactly the same thing for Release, the only options I get in Set Active Configuration are always ppc and i386, no matter what the "Architectures" string is set to, and even when I remove ppc from "Valid Architectures".

Am I missing something about how this is supposed to work?

Xcode 3.1.2 has meta-vars for building a standard 32/64-bit binary.

You can also spell out the individual archs if you'd like.

Make sure that the valid architectures list contains the archs you want to build for, and that you haven't inadvertently only changed the settings for the Debug configuration. (The UI makes it easy to make this mistake, and not notice immediately.)

- Jim

_______________________________________________
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: 
 >Can't build Release for x86_64 (From: Brian Ondov <email@hidden>)

  • Prev by Date: Can't build Release for x86_64
  • Next by Date: Re: dialect specific warnings/WARNING_CFLAGS ?
  • Previous by thread: Can't build Release for x86_64
  • Next by thread: Debugger failure within layered subclasses
  • Index(es):
    • Date
    • Thread