Game Development Community

PPC - gcc 3.3 vs. gcc 4.0

by asmaloney (Andy) · in Torque Game Engine · 01/30/2007 (1:12 pm) · 3 replies

Does anyone know why the Xcode project is set up to use gcc 3.3 by default for the PPC compile?

For those of you compiling for the Mac - which are you using? I'm curious because in my optimization work, I've been using the default and have noticed that a couple of changes don't do nearly as well with gcc 4.0.

#1
01/31/2007 (1:51 pm)
Simply put: because we're maintaining compatibility back to 10.2 and some non updated 10.3 systems, currently. Programs compiled with gcc 4.0 will not run on any version of MacOS prior to 10.3.9 .

So, according to Apple's universal binary guidelines, we're doing the right thing to maintain back compatibility of the final compiled torque games.

Torque is a great platform for casual games, and many casual gamers just don't have the latest & greatest hardware.
At the moment, I think I'd like to maintain support in base TGE & TGB for 10.2. In future versions and in the fullness of time, the natural cycles of life, et cetera, et cetera... I expect that support to cease, as GG's tech and Apple's tech move forward.

Share and Enjoy
/Paul
#2
01/31/2007 (1:54 pm)
Thanks, Paul, that finally answers a question that I've thought about many times before...
#3
01/31/2007 (2:01 pm)
@Paul: Thanks - that explains it quite well!

@Everyone else: That said, are there many using gcc 4.0 for PPC? I'm asking because if I continue my optimization work, I'll target either 3.3 or 4.0 - won't have enough time for both.