上传者: bao0682
|
上传时间: 2022-02-17 11:40:20
|
文件大小: 14.25MB
|
文件类型: -
按顺序安装以下包就可以完成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