Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 65 lines (43 sloc) 2.491 kb
48fac41 @kennethreitz readme
authored
1 OSX GCC Installer
2 =================
3
3edc763 @jcasimir Making the readme a little more clear.
jcasimir authored
4 The osx-gcc-installer allows you to install the essential compilers from either pre-built binary packages or helps you create your own installer.
48fac41 @kennethreitz readme
authored
5
8baff97 @mikemcquaid README: update installation instructions for 10.9.
mikemcquaid authored
6 For Lion and above users, **Apple now provides an official Command Line Tools for Xcode package** that you can install without needing to install Xcode itself! You can install it with ``xcode-select --install`` on Mavericks and Yosemite or download it from `Apple's developer site <https://developer.apple.com/downloads/>`_ (free registration required) and search for "Command Line Tools" on Lion and Mountain Lion.
55460f9 @lloydde bold official, link to downloads and search term for at Downloads for…
lloydde authored
7
8 If you still need gcc-4.2, and you use Homebrew, you can install it using the apple-gcc42 package from homebrew/dupes.
a1620a5 @mistydemeo Mention Apple's CLT package for 10.7+ users
mistydemeo authored
9
3edc763 @jcasimir Making the readme a little more clear.
jcasimir authored
10 Option 1: Downloading Pre-Built Binaries
11 ----------------------------------------
12
13 You can download the installers on the
03aa9b8 @mikemcquaid README: point to releases page.
mikemcquaid authored
14 `Releases page <https://github.com/kennethreitz/osx-gcc-installer/releases>`_ or use the links below:
a3ab2ca @kennethreitz more directions
authored
15
e34ad01 @WnP fix wrong version urls
WnP authored
16 * OS X 10.7 Lion: `GCC-10.7-v0.3.pkg <https://github.com/kennethreitz/osx-gcc-installer/releases/download/v0.3/GCC-10.7-v0.3.zip>`_
17 * OS X 10.6 Snow Leopard: `GCC-10.6-v0.3.pkg <https://github.com/kennethreitz/osx-gcc-installer/releases/download/v0.3/GCC-10.6-v0.3.zip>`_
a3ab2ca @kennethreitz more directions
authored
18
3edc763 @jcasimir Making the readme a little more clear.
jcasimir authored
19 Option 2: Build Your Own
20 ------------------------
fb04183 @kennethreitz headers
authored
21
3edc763 @jcasimir Making the readme a little more clear.
jcasimir authored
22 To create your own package, place the Xcode Installer for your OS version
1db9060 @cournape FEAT: add python script to allow for simple customization of the inst…
cournape authored
23 (``Install Xcode.app``) in the root directory of the repository, and edit the
24 packages_list.txt file to include the packages you want. Then run the build.py script::
25
26 python build.py
27
28 it will produce a build_essentials.pkg file by default, containing all the
29 desired packages. For example, if you want to include all the default packages
30 but want to add the 10.6 SDK, the file would look as follows::
31
32 DevSDK.pkg
33 DeveloperToolsCLI.pkg
34 MacOSX10.6.pkg
35 clang.pkg
36 llvm-gcc4.2.pkg
37 gcc4.2.pkg
38
48fac41 @kennethreitz readme
authored
39
3edc763 @jcasimir Making the readme a little more clear.
jcasimir authored
40 What's Included?
41 ----------------
c9530d4 @kennethreitz includes
authored
42
43 * GCC
44 * LLVM
45 * Clang
46 * Developer CLI Tools (purge, etc)
e735551 @kennethreitz packages
authored
47 * DevSDK (headers, etc)
48
3edc763 @jcasimir Making the readme a little more clear.
jcasimir authored
49 References
50 ----------
51
52 The source code from Apple for these packages is available here:
e735551 @kennethreitz packages
authored
53
3892db3 @kennethreitz Update README.rst
authored
54 - http://www.opensource.apple.com/release/developer-tools-41/
55
56
57 Troubleshooting
58 ---------------
59
60 *Do not install this if you already have Xcode installed!* Mixing Xcode and osx-gcc-installer
61 is known to cause various difficult-to-diagnose problems and is not recommended.
62
63 If you intend to only use command line tools you should first uninstall Xcode entirely before
3c9dbb4 @mikemcquaid README: general cleanup.
mikemcquaid authored
64 installing osx-gcc-installer.
Something went wrong with that request. Please try again.