RHEL5.5 install GCC compiler environment tutorial

  

I am getting error in make posix, prompt: make: cc: Command not found make: *** [posix] Error 127 so need to install GCC compiler environment GCC in the installation source package To use a component, find the installation disk of the system, start the installation in the Server directory: install the following packages in order to complete the GCC installation 1) [root@rhel5 Server]# rpm -ivh kernel-headers- 2.6.18-53.el5.i386.rpm2) [root@rhel5 Server]# rpm -ivh glibc-headers-2.5-48.i386.rpm3) [root@rhel5 Server]# rpm -ivh glibc-devel-2.5- 48.i386.rpm4) [root@rhel5 Server]# rpm -ivh libgomp-4.1.2-14.el5.i386.rpm5) [root@rhel5 Server]# rpm -ivh gcc-4.1.2-14.el5. I386.rpm6) [root@rhel5 Server]# rpm -ivh libstdc++-devel-4.1.2-14.el5.i386.rpm7) [root@rhel5 Server]# rpm -ivh gcc-c++-4.1.2-14. Gcel5.i386.rpm

Check if the installation is successful: [root@localhost down]# rpm -qa |  Grep gccgcc-4.1.2-46.el5libgcc-4.1.2-46.el5 shows that GCC installation is successful!

Copyright © Windows knowledge All Rights Reserved