You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that when a Homebrew user was having some trouble installing things (in Homebrew/legacy-homebrew#20087), they mentioned that Rails Installer distributes osx-gcc-installer on Mac. I wanted to suggest that it'd be better to look at alternatives.
There are a few problems with osx-gcc-installer, especially when using it on modern Mac versions:
osx-gcc-installer is essentially a stripped-down version of Xcode 4.1, with all of the headers and compilers from that Xcode. That means that some of the tools it includes are more than two years old at this point. For example, the clang it includes, 2.1 build 163, is very very old and can't compile some C++ software correctly.
Since osx-gcc-installer is a stripped down copy of an old Xcode, installing it for users who already have Xcode and/or the Command Line Tools for Xcode overwrites their new tools with older ones. That can cause some really nasty problems that are hard to track down later.
There are some good alternatives to osx-gcc-installer at this point - Apple's official CLT is free and a small download, for example. If what you're specifically looking for is a package that provides Apple's gcc-4.2, one of AT&T's gfortran packages includes the full gcc-4.2 compiler and installs cleanly alongside Xcode/CLT.
I noticed that when a Homebrew user was having some trouble installing things (in Homebrew/legacy-homebrew#20087), they mentioned that Rails Installer distributes osx-gcc-installer on Mac. I wanted to suggest that it'd be better to look at alternatives.
There are a few problems with osx-gcc-installer, especially when using it on modern Mac versions:
There are some good alternatives to osx-gcc-installer at this point - Apple's official CLT is free and a small download, for example. If what you're specifically looking for is a package that provides Apple's gcc-4.2, one of AT&T's gfortran packages includes the full gcc-4.2 compiler and installs cleanly alongside Xcode/CLT.