If I want to make C++, Go, Python, PHP, etc. programs and I want to use the newest version of GCC on OS X 10.10, how should I install it or update it? Golang has its own compiler. There is Xcode, but can you somehow use it to update GCC? There is also MacPorts, which only seems to have Apple's version of GCC 4.2, which I already seem to have.