• 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: Launching 32- vs 64- bit custom executables
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Launching 32- vs 64- bit custom executables


  • Subject: Re: Launching 32- vs 64- bit custom executables
  • From: Nick Zitzmann <email@hidden>
  • Date: Mon, 20 Oct 2008 18:41:18 -0600


On Oct 20, 2008, at 9:25 AM, Jonathan del Strother wrote:

When I have a fat custom executable (eg /Developer/Tools/otest), what
determines whether it launches in 32 or 64 bit?  In my case, ⌘⌥R
launches it in 64 bit mode, so testing debug builds of my framework
fails because they're only 32bit.  Oddly, debugging the executable
(⌘⌥Y) launches it in 32 bit.


For some reason, the debugger always prefers 32-bit architectures over 64-bit ones. Outside the debugger, though, the architecture launch order is the preferred launch order of your particular Macintosh[1], unless you overrode this in your executable's Info.plist file.

Nick Zitzmann
<http://seiryu.home.comcast.net/>

[1] Which are:

All IC2D and Xeon Macs: x86_64, x86, ppc (Rosetta)
All ICS and ICD Macs: x86, ppc (Rosetta)
Power Mac G5 and iMac G5: ppc64, ppc
All other Power Macs: ppc

_______________________________________________
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: Launching 32- vs 64- bit custom executables
      • From: Chris Hanson <email@hidden>
References: 
 >Launching 32- vs 64- bit custom executables (From: "Jonathan del Strother" <email@hidden>)

  • Prev by Date: Re: Perforce problem with XCode 3.1.1
  • Next by Date: Re: Symatec C++ version 8.0
  • Previous by thread: Launching 32- vs 64- bit custom executables
  • Next by thread: Re: Launching 32- vs 64- bit custom executables
  • Index(es):
    • Date
    • Thread