I have install Mountain Lion (Mac OS X 10.8) and now gcc doesn’t seem to be available anymore. I’ve also installed Xcode 4.4 so there is no more /Developer directory.
I need gcc both for mac ports and for ruby gems (that have native extensions).
Does Xcode 4.4 include gcc or is there a way to install gcc?
Update:
You can now just run the following command from your terminal:
Starting with Xcode 4.3 – you must now manually install command line tools from
Xcode menu > Preferences > Downloads.Alternatively, there are stand-alone installation packages both for Mountain Lion (10.8) and for Mavericks (10.9).