-
在Redhat 5.2系统中安装GCC编译环境,其中包括G++
资源介绍
按顺序安装以下包就可以完成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]# rpm -ivh gcc-4.1.2-14.el5.i386.rpm
6)[root@rhel5 Server]# rpm -ivh libstdc++-devel-4.1.2-14.el5.i386.rpm
7)[root@rhel5 Server]# rpm -ivh gcc-c++-4.1.2-14.el5.i386.rpm