I have Ubuntu 11.10 (32 bit OS) in my computer....... I downloaded the source code from official GCC website.. In /home/vidhya /home/vidhya$ mkdir build /home/vidhya$ cd build copied the .tar file in this directory /home/vidhya/build$ tar xzf gcc-4.7.0.tar.gz /home/vidhya/build$ cd gcc-4.7.0 /home/vidhya/build/gcc-4.7.0$ ./contrib/download_prerequisites /home/vidhya/build/gcc-4.7.0$ cd .. /home/vidhya/build$ cd .. /home/vidhya$ mkdir gcc-4.7.0 (It acts as my objdir) /home/vidhya$ cd gcc-4.7.0 /home/vidhya/gcc-4.7.0$ ../gcc-4.7.0/configure configured successfully and makefile created....then when I gave /home/vidhya/gcc-4.7.0$ make It ran for sometime and finally showed the following error collect2: ld terminated with signal 9 [Killed] make[3]: *** [cc1] Error 1 make[3]: Leaving directory `/home/vidhya/build/gcc-4.7.0/host-i686-pc-linux-gnu/gcc' make[2]: *** [all-stage1-gcc] Error 2 make[2]: Leaving directory `/home/vidhya/build/gcc-4.7.0' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/home/vidhya/build/gcc-4.7.0' make: *** [all] Error 2 Anyone please help me in installing gcc.... Thanks in advance.