Linked by Thom Holwerda on Sun 2nd Apr 2006 18:31 UTC
Mac OS X As Apple moves from IBM's and Freescale's PowerPC RISC architecture to Intel processors, developers must rebuild their products to support both platforms, into what Apple calls a UB (Universal Binary). And while Apple lists over 1000 UB applications currently available, this process is challenging developers, especially those of some of the largest and most critical applications for the platform.
Thread beginning with comment 110552
To read all comments associated with this story, please click here.
One thing that nobody mentioned..
by steveftoth on Sun 2nd Apr 2006 23:43 UTC
steveftoth
Member since:
2005-10-30

is that not only do you have to move your code to xCode, but that as of right now, only one compiler is really supported in XCode, and that's GCC. So not only do all the developers have to port their code ot use XCode's build environment and process, but they also have to use a totatly different compiler that almost no comercial software developer uses.
From this and other articles I've read, the developers that are the most vocal about it are the ones who don't use gcc. Not that it's their fault, GCC didn't even exist when many of these projects were born. And gcc also generates sub-optimal code for the PPC. Codewarrior still generates the fastest PPC code (especially for G4s) so it's not really a question as to why they didn't switch until they were forced to.

Even Apple hasn't gotten all of its code updated to be a UB.

Reply Score: 2

MikeGA Member since:
2005-07-22

Fair point. However, I'm sure I read about Intel's plans to release their compilers (better optimised) for OS X on x86.

However, if I recall correctly, the compiler will only support Carbon, not Cocoa.

Reply Parent Score: 2

TezKAh Member since:
2005-07-06

Carbon = OS 9 APIs leftover in OS X.


Cocoa = OX X native APIs.


"For apps that use Carbon, however, there is an alternative. Intel is porting their compilers (including C and C++) to Mac OS (as a plug-in for the Xcode environment, as I understand it.) But the Intel compiler will not generate PPC code, so it won't be able to produce universal binaries. It will generate Intel-only applications."



Wow, so we'll end up with Universal binaries for Xcode, and Intel or PPC versions for others. Hmm.

Also: "CodeWarrior is essentially out of business on the desktop and is now focused on embedded processors. After their unfortunately timed decision to sell off their Intel compiler technology mere months before Apple's announcement of the switch last summer" Ouch.

Reply Parent Score: 3