aix 安装gcc -尊龙游戏旗舰厅官网
1、下载rpm包(ftp://ftp.software.ibm.com/aix/freesoftware/aixtoolbox/rpms/ppc/gcc/)
gcc-4.7.2.aix6.1.ppc.rpm,
gcc-cplusplus-4.7.2.aix6.1.ppc.rpm,
libgcc-4.7.2.aix6.1.ppc.rpm,
libstdcplusplus-4.7.2.aix6.1.ppc.rpm,
libstdcplusplus-devel-4.7.2.aix6.1.ppc.rpm
2、ftp将安装包上传到服务器上
3、执行安装
#rpm -ivh gcc-4.7.2.aix6.1.ppc.rpm
#rpm -ivh libgcc-4.7.2.aix6.1.ppc.rpm
#rpm -ivh libstdcplusplus-4.7.2.aix6.1.ppc.rpm
#rpm -ivh libstdcplusplus-devel-4.7.2.aix6.1.ppc.rpm
#rpm -ivh gcc-cplusplus-4.7.2.aix6.1.ppc.rpm
4、执行命令 #gcc -v,结果如下,整个安装ok
-bash-4.2# gcc -v
using built-in specs.
collect_gcc=gcc
collect_lto_wrapper=/opt/freeware/libexec/gcc/powerpc-ibm-aix6.1.0.0/4.7.2/lto-wrapper
target: powerpc-ibm-aix6.1.0.0
configured with: ../gcc-4.7.2/configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld --enable-languages=c,c ,fortran --prefix=/opt/freeware --mandir=/opt/freeware/man --infodir=/opt/freeware/info --enable-threads --enable-version-specific-runtime-libs --disable-nls --enable-decimal-float=dpd --host=powerpc-ibm-aix6.1.0.0
thread model: aix
gcc version 4.7.2 (gcc)
转载于:https://blog.51cto.com/40751/1255242
总结
- 上一篇:
- 下一篇: php中遍历关联数组的方法