Can I upgrade Xcode to support a newer version of GCC to learn C++0x?
- by Shane
I would like to jump in learn C++0x, which has matured to a level I'm happy with.
Xcode on Snow Leopard 10.6 is currently at GCC 4.2.1, and the new features I'd like to try, like std::shared_ptr, lambdas, auto, null pointer constant, unicode string literals, and other bits and pieces, require at least 4.3 (I believe).
Ideally I'd use Xcode but I'm not even sure if you can manually upgrade the compiler for Xcode. Is this possible?
Otherwise, what is the best way to install a different version of GCC that doesn't interfere with the rest of the system?
Regards,
Shane