llvm-gcc doesn't compile many projects correctly, including gcc itself (as of Xcode 4.2 there were reports that it's not possible to compile a gcc cross-compiler using llvm-gcc). Hopefully there have been improvements in this regard.
Still, anyone who needs the real gcc will have to install it through some other means.
Clang is a faster and BSD-licensed compiler that Apple is putting all its weight behind now. LLVM-GCC has also been deprecated as it was removed as-of LLVM 3.0.
Clang is the future and it's the default compiler with the Command Line Tools. We just need to wait for upstreams to fix the various issues.
It's worth noting that this is why monocultures are bad. For all the love of GCC (and it is great) we now have a huge quantity of open-source software that only compiles with one compiler. This is a shame and hopefully Clang will help rectify that.
I wonder if there's a compelling reason for these add-on distros (Fink, Homebrew, Macports) to be strictly "build from source" with no option for binary package downloads. For me, it just seems to add long delays in getting a tool installed, and adds frustrating dependencies on my Xcode version.
For that to happen, someone has to take responsibility for creating, managing, and distributing those binary packages. That's much easier said than done.
So, the simple answer is that no one has, as of yet, volunteered to do the work.
For example Qt has a bottle: https://github.com/mxcl/homebrew/blob/master/Library/Formula...
The reason we aren't doing this for more packages is basically people power and hosting (as I'm not sure Sourceforge would be happy we hosting the number of binaries we'd want to have).
Hope that explains a bit. Feel free to comment if you think we're taking a good/bad approach here.
http://lists.macosforge.org/pipermail/macports-users/2011-Ju...
In my experience, those are quite common now - most of the packages I install are delivered as binaries.
While strictly true, it's kind of irrelevant. The official stance is that GCC is the only compiler that is supported to build recent versions of GCC. This has been true since some point around GCC 4.0.
[1] https://github.com/mxcl/homebrew/wiki/Acceptable-Formula
The only measure by which llvm-gcc is not "real" is that it's not included in the core gcc distribution.
http://lists.apple.com/archives/x11-users/2011/Nov/msg00058....
It's reassuring that I will be able to continue to use my Mac and rxvt-unicode into the forseeable future.
The nice thing about just installing the OS X developer tools off the OS X DVD is that you do not need to enter into these sorts of legal agreements with Apple (beyond a standard software EULA).
It seems not a week goes by without another reason to be glad I never touch that platform.
Fellow software developers, show some self respect. Quit enabling this abuse.
Ok why? If you install all of Xcode, you're going to have everything included in this tools package as well, aren't you?
> Downloading this package will install copies of the core command line tools and system headers into system folders, including the LLVM compiler, linker, and build tools.
Yup, I agree. Also, with the news of Mountain Lion today, I've been worried about how much Apple will continue making OS X a platform that any developer can innovate on. This story has re-affirmed that further for me. Awesome!
So for anyone using CMAKE, and having problems, this might save you (I was able to recompile GLFW and CEGUI this way):
CMAKE_C_COMPILER=clang
CMAKE_CXX_COMPILER=clang++
I'm assuming this is because of Apple's GCC build just being wrappers around LLVM.
If ruby-build refuses to compile with clang, you should open an issue. I've done so for rvm: https://github.com/wayneeseguin/rvm/issues/763
And I'm guessing, from the submitted article, re-installing 'osx-gcc-installer' wouldn't work.
Hopefully, Ruby will work with newer tools soon.
Almost all of the tools I need I can install in minutes in Debian with apt-get. It's reliable, easy and gets me doing work instead of crying while I open 20 tabs trying to find solutions to obscure bugs on Google.
And then, I LOLed.