Kenneth Reitz created a GCC Installer for OSX without Xcode! Thank you. This package is about 500 MB. Compared to Xcode you save at least 1,5 GB on your SSD.
So let’s go to work:
- Remove Xcode
sudo /Developer/Library/uninstall-devtools --mode=all
This will delete Xcode. For more details see John’s post
Currently 10.6 and 10.7 packages are available at https://github.com/kennethreitz/osx-gcc-installer/downloads
/usr/bin/ruby <(curl -fsSkL raw.github.com/mxcl/homebrew/go)
You can verify your success with
You don't need Xcode for formulas like gradle, groovy, maven, tomcat etc. Nevertheless some formulas will require Xcode!