HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
kennethreitz
osx-gcc-installer
Python2011–2013
kennethreitz / osx-gcc-installer

osx-gcc-installer

GCC Installer for OSX! Without Xcode!

20Distinct people
20Mentions
1Explicit recommenders
38GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

GCC Installer for OSX! Without Xcode!

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

While this doesn't help him get his time back, next time I'd encourage him to use rvm as the other posters have previously indicated — but instead of actually installing the…

peteforde used a recommendation phrase. One indexed comment matches. This is a phrase match, not a verdict.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by month20 dated mentions

Observed mentions: 2011-07-30 00:40:47 UTC to 2013-07-25 02:46:14 UTC.

012342011-07-01 00:00:00 UTC to 2011-08-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 commentsJul 20112011-08-01 00:00:00 UTC to 2011-09-01 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 comments2011-09-01 00:00:00 UTC to 2011-10-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments2011-10-01 00:00:00 UTC to 2011-11-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2011-11-01 00:00:00 UTC to 2011-12-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2011-12-01 00:00:00 UTC to 2012-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2012-01-01 00:00:00 UTC to 2012-02-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2012-02-01 00:00:00 UTC to 2012-03-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments2012-03-01 00:00:00 UTC to 2012-04-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2012-04-01 00:00:00 UTC to 2012-05-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2012-05-01 00:00:00 UTC to 2012-06-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2012-06-01 00:00:00 UTC to 2012-07-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2012-07-01 00:00:00 UTC to 2012-08-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsJul 20122012-08-01 00:00:00 UTC to 2012-09-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2012-09-01 00:00:00 UTC to 2012-10-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2012-10-01 00:00:00 UTC to 2012-11-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2012-11-01 00:00:00 UTC to 2012-12-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2012-12-01 00:00:00 UTC to 2013-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2013-01-01 00:00:00 UTC to 2013-02-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2013-02-01 00:00:00 UTC to 2013-03-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2013-03-01 00:00:00 UTC to 2013-04-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2013-04-01 00:00:00 UTC to 2013-05-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2013-05-01 00:00:00 UTC to 2013-06-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2013-06-01 00:00:00 UTC to 2013-07-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2013-07-01 00:00:00 UTC to 2013-08-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 commentsJul 2013

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Jul 20112011-07-01 00:00:00 UTC2011-08-01 00:00:00 UTC211
Aug 20112011-08-01 00:00:00 UTC2011-09-01 00:00:00 UTC404
Sep 20112011-09-01 00:00:00 UTC2011-10-01 00:00:00 UTC211
Oct 20112011-10-01 00:00:00 UTC2011-11-01 00:00:00 UTC101
Nov 20112011-11-01 00:00:00 UTC2011-12-01 00:00:00 UTC202
Dec 20112011-12-01 00:00:00 UTC2012-01-01 00:00:00 UTC000
Jan 20122012-01-01 00:00:00 UTC2012-02-01 00:00:00 UTC000
Feb 20122012-02-01 00:00:00 UTC2012-03-01 00:00:00 UTC303
Mar 20122012-03-01 00:00:00 UTC2012-04-01 00:00:00 UTC000
Apr 20122012-04-01 00:00:00 UTC2012-05-01 00:00:00 UTC202
May 20122012-05-01 00:00:00 UTC2012-06-01 00:00:00 UTC000
Jun 20122012-06-01 00:00:00 UTC2012-07-01 00:00:00 UTC000
Jul 20122012-07-01 00:00:00 UTC2012-08-01 00:00:00 UTC101
Aug 20122012-08-01 00:00:00 UTC2012-09-01 00:00:00 UTC000
Sep 20122012-09-01 00:00:00 UTC2012-10-01 00:00:00 UTC000
Oct 20122012-10-01 00:00:00 UTC2012-11-01 00:00:00 UTC000
Nov 20122012-11-01 00:00:00 UTC2012-12-01 00:00:00 UTC000
Dec 20122012-12-01 00:00:00 UTC2013-01-01 00:00:00 UTC000
Jan 20132013-01-01 00:00:00 UTC2013-02-01 00:00:00 UTC000
Feb 20132013-02-01 00:00:00 UTC2013-03-01 00:00:00 UTC000
Mar 20132013-03-01 00:00:00 UTC2013-04-01 00:00:00 UTC101
Apr 20132013-04-01 00:00:00 UTC2013-05-01 00:00:00 UTC000
May 20132013-05-01 00:00:00 UTC2013-06-01 00:00:00 UTC000
Jun 20132013-06-01 00:00:00 UTC2013-07-01 00:00:00 UTC000
Jul 20132013-07-01 00:00:00 UTC2013-08-01 00:00:00 UTC202

From the project README

An excerpt from the repository, fetched Nov 13, 2026.

Read the project’s introduction
OSX GCC Installer 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 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 (free registration required) and search for "Command Line Tools" on Lion and Mountain Lion. 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 Releases page or use the links below: OS X 10.7 Lion: GCC-10.7-v0.3.pkg OS X 10.6 Snow Leopard: GCC-10.6-v0.3.pkg 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, and edit the packages_list.txt file to include the packages you want. Then run the build.py script: python build.py it will produce a build_essentials.pkg file by default, containing all the desired packages. For example, if you want to include all the default packages but want to add the 10.6 SDK, the file would look as follows: DevSDK.pkg DeveloperToolsCLI.pkg MacOSX10.6.pkg clang.pkg llvm-gcc4.2.pkg gcc4.2.pkg 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: http://www.opensource.apple.com/release/developer-tools-41/ 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.
Read the full README on GitHub

What Hacker News says

20 sources
Yes, I'm actually checking to see if it contains a plain gcc compiler (like Xcode 4.1 did), currently the llvm-gcc that is symlinked with /usr/bin/gcc with Xcode 4.2 doesn't work too well with software from rvm and homebrew. edit: I just pulled down the Unix developer tools, it comes with llvm-gcc and clang. /usr/bin/gcc is symlinked with llvm-gcc. Any packages that need plain gcc will not work with the "command-line-tools-for-xcode.dmg" install. We'll have to keep using something like OSX-GCC-Installer (https://github.com/kennethreitz/osx-gcc-installer) for now. Anyway, this is a positive move for those of us who want to be able to use Xcode and also need/want a normal gcc installation on the same machine.
In New Features in Xcode 4.3
peteforde·Nov 16, 2011Recommendation phrase
While this doesn't help him get his time back, next time I'd encourage him to use rvm as the other posters have previously indicated — but instead of actually installing the massive XCode bundle (4GBs is a lot if you're using an SSD) I recommend he check out this 300MB bundle you can install which is just gcc and the other bare minimum tools you'd need to get ruby and the various gems working: https://github.com/kennethreitz/osx-gcc-installer Also, one small gripe is that it sounds like the majority of his complaints were actually trying to get Python and Mercurial working. This isn't really the fault of OS X nor does it bog down most Rails devs working on OS X. Just some perspective!
In Trying Rails and Mac. Confessions of a .NET Developer
A generation of hackers may have started with BASIC on Apple IIs, but getting a C compiler on a modern Mac is a 4GB XCode download The size of Xcode annoys me too, since I never use it. So I've been using this GCC install on my Mac: https://github.com/kennethreitz/osx-gcc-installer Couple hundred megabytes. It's still a lot larger than Orca/C was on my Apple IIgs (1 or 2 3.5" floppies?), but then again, compilers come with a lot of libraries these days.
In Ubuntu should zig to Apple’s zag

Showing the 15 most recent of 20 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.