Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

GCC Installer for OSX! Without Xcode!

branch: master

Merge pull request #16 from lloydde/patch-1

bold official, link to downloads and search term @Downloads for Apple
latest commit aa5eb72bd1
Kenneth Reitz authored
Octocat-spinner-32 GCC-10.6.pmdoc Updated curl command. October 04, 2012
Octocat-spinner-32 GCC-10.7.pmdoc Updated curl command. October 04, 2012
Octocat-spinner-32 .gitignore ignore it! July 31, 2011
Octocat-spinner-32 README.rst bold official, link to downloads and search term for at Downloads for… August 23, 2013
Octocat-spinner-32 gcc.png gcc png July 29, 2011
README.rst

OSX GCC Installer

Downloading and installing the massive Xcode installer is a huge hassle if you just want GCC and related tools.

The osx-gcc-installer allows you to install the essential compilers from either pre-built binary packages or helps you create your own installer.

For Lion and Mountain Lion users, Apple now provides an official Command Line Tools for Xcode package that you can install without needing to install Xcode itself! You can download it from Apple's developer site (free registration required) and search for "Command Line Tools".

If you still need gcc-4.2, and you use Homebrew, you can install it using the apple-gcc42 package from homebrew/dupes.

Option 1: Downloading Pre-Built Binaries

You can download the installers on the Downloads page or use the links below:

Option 2: Build Your Own

To create your own package, place the Xcode Installer for your OS version (Install Xcode.app) in the root directory of the repository, then open the matching .pmdoc to build!

What's Included?

  • GCC
  • LLVM
  • Clang
  • Developer CLI Tools (purge, etc)
  • DevSDK (headers, etc)

References

The source code from Apple for these packages is available here:

Troubleshooting

Do not install this if you already have Xcode installed! Mixing Xcode and osx-gcc-installer is known to cause various difficult-to-diagnose problems and is not recommended.

If you intend to only use command line tools you should first uninstall Xcode entirely before installing osx-gcc-installer, or see below for other options.

Something went wrong with that request. Please try again.