按顺序安装以下包就可以完成GCC的安装了 1)[root@rhel5 Server]# rpm -ivh kernel-headers-2.6.18-53.el5.i386.rpm 2)[root@rhel5 Server]# rpm -ivh glibc-headers-2.5-18.i386.rpm 3)[root@rhel5 Server]# rpm -ivh glibc-devel-2.5-18.i386.rpm 4)[root@rhel5 Server]# rpm -ivh libgomp-4.1.2-14.el5.i386.rpm 5)[root@rhel5 Server