I want to compile C++ code on MacOS X, using the g++ compiler. How do I install it?
+6
A:
That's the compiler that comes with Apple's XCode tools package. They've hacked on it a little, but basically it's just g++.
You can download XCode for free (well, mostly, you do have to sign up to become an ADC member, but that's free too) here: http://developer.apple.com/technology/xcode.html
Omnifarious
2010-01-23 06:51:23
Add the download link from my answer, and I'll accept yours! :)
jmglov
2010-01-23 06:52:33
@jmglov, *chuckle* Done! :-)
Omnifarious
2010-01-23 07:05:40
+1
A:
Download Xcode, which is free with an ADC online membership (also free):
jmglov
2010-01-23 06:51:38