I\'d like to build the latest version of gcc on a mac. I have the latest xcode but I\'m looking for some of the c++0x features that are in more recent versions (the lambda funct
Add GCC support to a fresh Xcode 4.2 installation using this homebrew formula:
brew install https://raw.github.com/Homebrew/homebrew-dupes/master/apple-gcc42.rb
Upgrading from Xcode 4.1 doesn't drop existing GCC support, so this formula is only useful if you're working with a fresh 4.2+ installation.