My computer has Ubuntu 11.10 32-bit OS. I downloaded gcc4.4.6 core package (tar file), unzipped it and tried the following:
./configure
sudo make install
which gave me the following error:
vidhya@vidhya-Reserved:~/Desktop/gcc-4.4.6$ sudo make install
make[1]: Entering directory `/home/vidhya/Desktop/gcc-4.4.6'
/bin/bash ./mkinstalldirs /usr/local /usr/local
/bin/bash: line 3: cd: host-i686-pc-linux-gnu/fixincludes: No such file or directory
make[1]: *** [install-fixincludes] Error 1
make[1]: Leaving directory `/home/vidhya/Desktop/gcc-4.4.6'
make: *** [install] Error 2
Could anyone please help me install any gcc 4.X version?