I installed gcc as described below.
it installed pretty well, but when I call gcc -v
it just shows the former version gcc4.6.3
. I do not know where to find the installation so that I can make a link to call it.
tar xzf gcc-4.6.2.tar.gz
cd gcc-4.6.2
./contrib/download_prerequisites
cd ..
mkdir objdir
cd objdir
$PWD/../gcc-4.6.2/configure --prefix=$HOME/gcc-4.6.2
make
make install
All were done from my home directory.