AIX5.3下gcc的安装

来源:互联网 发布:ios多线程编程组件 编辑:程序博客网 时间:2024/05/21 08:38

1.  分别下载
ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/gcc/gcc-4.2.0-3.aix5.3.ppc.rpm

ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/gcc/gcc-cplusplus-4.2.0-3.aix5.3.ppc.rpm

2.  如果系统没有rpm工具, 请下载 ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/INSTALLP/ppc/rpm.rte
然后使用:
installp -qaXgd rpm.rte rpm.rte
进行安装。

3. rpm -ivh gcc-4.2.0-3.aix5.3.ppc.rpm

4. rpm -ivh gcc-cplusplus-4.2.0-3.aix5.3.ppc.rpm

rpm -ivh gcc-4.2.0-3.aix5.3.ppc.rpm
rpm -ivh libgcc-4.2.0-3.aix5.3.ppc.rpm
rpm -ivh libstdcplusplus-4.2.0-3.aix5.3.ppc.rpm
rpm -ivh libstdcplusplus-devel-4.2.0-3.aix5.3.ppc.rpm
rpm -ivh gcc-cplusplus-4.2.0-3.aix5.3.ppc.rpm
rpm -ivh libgcj-4.2.0-3.aix5.3.ppc.rpm