I am looking forward to migrate my c++ code to C++11, which might requires at least g++ 4.6. So what is the GCC installed on Mountain Lion?
Tell me more
×
Ask Different is a question and answer site for
power users of Apple hardware and software. It's 100% free, no registration required.
|
|
Mountain Lion doesn't ship with any GCC, but you can install GCC 4.7 . I have done this on my machine. |
|||
|
|
|
Apple doesn't ship compilers with their App Store OS versions (Lion and now Mountain Lion) so the answer is none. It does provide an llvm-gcc binary that serves as gcc as part of Xcode and the developer tools. This is a free download and you can use it to bootstrap to whatever version of gcc you please if the shipping version isn't to your liking. Here is gcc version that ships with Xcode v4.3.3
|
|||
|
|