This guide assumes a 64 bit architecture
First get gcc 4.6.3
GCC 4.6.3
Extract the tar
Install wget (required by prequesites command), development tools and 32 bit glibc headers
Enter the directory, download prerequisites and run configure with prefix to set the install directory, change this to your liking
A compilation error will result when you run make so either apply the following patch or change the lines modified by the patch
OR
Patch:
run make and make install (make will take a while to finish)
Next if we want this version to be the default we put the following in out .bashrc file