Portal Home > Knowledgebase > Articles Database > Upgrading gcc on Mac OS X?


Upgrading gcc on Mac OS X?




Posted by RocketMan26, 06-12-2007, 04:03 PM
Hello everyone, Is there a guide available on how to upgrade to gcc 4.2.0 on Mac OS X 10.4.9?

Posted by kerplunk, 06-13-2007, 01:20 AM
Are we talking about Mac OS X Server or the regular version? Could you just compile straight from source? I would stick with whatever binaries they provide you, to be safe.

Posted by RocketMan26, 06-13-2007, 12:48 PM
I'm not talking about Mac OS X Server, just Mac OS X 10.4.9. The default version is gcc 3.3, and they really don't provide any binaries, at least, not that I'm able to find. I need to upgrade because I really would like fink to work.

Posted by Engelmacher, 06-13-2007, 12:58 PM
Wrong. The developer's tools are not a part of the OS installation. It's up to you to keep them current.

Posted by RocketMan26, 06-13-2007, 07:03 PM
So you're saying Mac OS X Server and Mac OS X 10.4.9 are the same? Just curious. My output is as follows: > gcc -v Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs Thread model: posix gcc version 3.3 20030304 (Apple Computer, Inc. build 1666) So how would I go about upgrading gcc?

Posted by Engelmacher, 06-13-2007, 07:52 PM
Yeah, that's exactly what I said. http://developer.apple.com/tools/download/

Posted by RocketMan26, 06-13-2007, 09:51 PM
Ok, I see now. So, XCode 2.4.1 includes gcc 4.2.0?

Posted by kerplunk, 06-14-2007, 02:59 AM
Engelmacher: Be nice thinksmart12: I'm sure the latest XCode contains the latest version of the apps included. I installed XCode off of the Mac OS X DVDs and it says I am using gcc 4.0.1.

Posted by RocketMan26, 06-14-2007, 04:50 PM
Ok, thanks for the information. Your help is appreciated.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Need a little button (Views: 702)
LDAP, PHP and IIS7 (Views: 700)
jmhservices.com down? (Views: 800)


Language: