Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Just when does an application commit to PowerPC vs. Intel?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Just when does an application commit to PowerPC vs. Intel?



Essentially yes. It basically Just Works. You build the application for both architectures and the right one gets launched. Details of how to modify the process are in the Universal Binary Programming Guidelines, but most folks won't have to worry about that.

-Eric

On Jan 11, 2006, at 5:54 PM, ccsccs7 wrote:

I'm reminded of the old Fat binaries with the 68K to PPC transition. Do they work basically the same way?

CC



Chris Espinosa wrote:

On Jan 11, 2006, at 10:53 AM, Roland Torres wrote:


Just thinking out loud here...

So, the next step (no pun) will be for the next generation of Universal Binary to include:
- 32-bit PPC
- 32-bit Intel
- 64-bit Intel


How will the proper binary be chosen at runtime then? Will the default be to run the 32-bit binary if the user is on a 32-bit Intel or PPC system, and the 64-bit binary on 64-bit Intel systems?

The runtime on the system you're using picks the corresponding binary. This works correctly today, for example, with the real- life case you omit: 64-bit PPC. And there are APIs to override this: for example, the Get Info box on 10.4.4 allows you to check a box to launch the PPC side of a Universal Binary under Rosetta on an Intel machine, rather than launching the Intel side; this is useful for testing and debugging.
_______________________________________________
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: 
 >Just when does an application commit to PowerPC vs. Intel? (From: Robin Lake <email@hidden>)
 >Re: Just when does an application commit to PowerPC vs. Intel? (From: Chris Espinosa <email@hidden>)
 >Re: Just when does an application commit to PowerPC vs. Intel? (From: Roland Torres <email@hidden>)
 >Re: Just when does an application commit to PowerPC vs. Intel? (From: Chris Espinosa <email@hidden>)
 >Re: Just when does an application commit to PowerPC vs. Intel? (From: ccsccs7 <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.