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
總結
- 上一篇: 关闭iOS软键盘的小方法
- 下一篇: PHP中遍历关联数组的方法