I have Ubuntu 10.04 32-bit with gcc 4.4.3 currently installed on it. I want to upgrade it to gcc 4.6.1.
How to update using Ubuntu Package Manager:
apt-get upgrade/install
As a second option I downloaded the latest gcc snapshot file from:
http://gcc.cybermirror.org/snapshots/LATEST-4.7/gcc-4.7-20110709.tar.bz2
How do I configure, compile, and install it?