How can I install GCC on Mac OS X Lion without Xcode?
5,374
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.
Related videos on Youtube
Comments
-
Eric Leroy about 1 year
I find it really hard to believe there is not a simple solution to install GCC on Mac without having to download and install more than 1 GB+ of Xcode. I found a site that helps reduce the amount of programs to be installed in the Xcode installation, but it's still a relatively large amount of disk space needed just to get this compiler up and running.
I'm looking for a solution WITHOUT Xcode.
-
trojanfoe about 11 yearsSo your only issue is the size of the download?
-
Admin about 11 yearsyes, I have several Mac computers that I only need *nix related tools on. I don't develop with xcode, and don't care for it's tools / ide. I understand that the issue is with program dependencies, but until a second ago, I wasn't able to find any solutions.
-
juanchopanza about 11 yearsI've used macports.org in the past.
-
Admin about 11 yearsDoesn't mac ports rely on xcode also?
-
Admin about 11 yearsLoki, I don't think you get it. The whole point of the question is to install it without xcode. I don't like it. The thought of it taking up drive space irritates me.
-
juanchopanza about 11 years@EricLeroy I am not 100% sure that macports works without some xcode these days, hence I haven't posted an answer. It worked wwithout xcode with older versions of Mac OSX.
-
Admin about 11 yearsyeah, it requires xcode: macports.org/install.php
-