views:

218

answers:

1

I want to use gcc 4.4 or greater for iphone developement. anyone know how?

+2  A: 

No you don't. Trust me you don't. Apple stays at gcc 4.2.1 because 4.2.2 and higher use the GPLv3 which means they'd have to give up control of their platform (a big problem for the iphone sdk). So they don't upgrade.

Unfortunately for you, you can't exactly just drop in a replacement gcc either, due to custom patches, ABI changes, etc.

Sorry.

jer
Please clarify on how GPLv3 in GCC affects the iphone SDK.
caspin
Tivoization and patent provisions.
jer
Which is exactly why Apple is pushing LLVM so hard. If you want a newer compiler to look forward to, Clang / LLVM is clearly the future for Apple's platforms.
Brad Larson