My problem is simple, I would like to get the OSX/BSD version of the GCC and G++ compilers from the GNU.org website. However after some research (as described below) I learned that Apple uses LLVM and gcc is a symbolic link to
llvm-cc while g++ is a symbolic link to
I also learned Apple were stupid enough to remove these compilers with no reasonable explanation (Literally, nobody can give a valid reason for this, there is no such thing). The other thing I learned is Apple uses the LLVM (as previously explained).
I have searched the web to try and learn how to do this, and nothing is being useful. Only people talking about Xcode, or other long-winded installing of Apps and running commands and installing other resources.
XCODE is NOT the solution i'm looking for as Xcode does not automatically come with the compiler, but requires additional installations and things.
- I want to learn, I want to understand;
- I do NOT want the "easy way" or the "use the application way";
- I want to do it the old-school way, the download source from GNU, configure/make/make install - funnily enough, Apple has removed these too - What are they thinking?
My current attempt
I downloaded the LLVM source from the following location: Source: http://llvm.org/releases/download.html#3.3 Download: Clang Binaries for Mac OS X (79M) (.sig)
I then extracted the contents of this directory, in my Downloads directory:
$ tar -xzpf clang+llvm-3.3-x86_64-apple-darwin12.tar.gz
I have tried to read the Getting Started Guide, which says 'Read the documentation' I cannot find this documentation, not in the downloaded libraries or online.