Install GCC Without XCode in Mac OS X
If you compile your own software you probably know that GCC comes bundled in the rather large Xcode package, but what if you just want to have gcc and LLVM without installing the entire Xcode package? Apple now offers an option to do just that, and it’s called Command Line Tools, available as a separate download from Apple Developers.
You’ll need a free developer login to access the download, login and look for “Command Line Tools for Xcode”. Mac OS X 10.7.3 or later is required to use the package installer.
The download is less than 150MB and that alone will save plenty of bandwidth, but the total installation is also significantly smaller than Xcodes footprint and you’ll save a ton of disk space if you just want the command line compiler tools without all the iOS and OS X development support.
If you already have Xcode installed you won’t need this because it’s an option during the general Xcode installation, meaning this is really just for advanced Mac users that want the familiar unix compiler toolkit; Make, GCC, LLVM, python, perl, and other development utilities. If you want to slim down your development footprint, you can always uninstall Xcode by deleting the app from /Applications/ and then manually install the Command Line Tools for OS X separately.
Thanks for the that useful bit of info! I hate installing stuff I don’t need!
Thanks a lot. Works fine. Now the August-Package is available.
Nice to read this news, many ppl don’t no this issue about “Command-Line_tool”…
But ! the prob is the GCC by Apple !! who work in couple with LLVM , that mean is not an “PURE” GCC, more, he is an outdate version of LLVM_GCC , is the 4.2 version, we are today at 4.8 ( many improuvement inside)
& many app don’t be compiled as well for this reason…
The best way is to get for sure “Command-Line-Tool” + an new version of GCC, even the 4.6
I leave the place to OSXDAILY.COM to make an tut’s about “how to install GCC on your Mac’s” ;-)
Great! I use Qt and never really needed all the XCode baggage – Thanks for posting this!