zoukankan      html  css  js  c++  java
  • redhat6.4 gcc g++ rpm方式安装步骤

    centos源

    包包自行下载

    [root@localhost gcc]# rpm -ivh ppl-0.10.2-11.el6.x86_64.rpm 
    warning: ppl-0.10.2-11.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY
    Preparing...                ########################################### [100%]
       1:ppl                    ########################################### [100%]
    [root@localhost gcc]# rpm -ivh cloog-ppl-0.15.7-1.2.el6.x86_64.rpm 
    warning: cloog-ppl-0.15.7-1.2.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY
    Preparing...                ########################################### [100%]
       1:cloog-ppl              ########################################### [100%]
    [root@localhost gcc]# rpm -ivh mpfr-2.4.1-6.el6.x86_64.rpm 
    warning: mpfr-2.4.1-6.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY
    Preparing...                ########################################### [100%]
       1:mpfr                   ########################################### [100%]
    [root@localhost gcc]# rpm -ivh cpp-4.4.7-3.el6.x86_64.rpm 
    warning: cpp-4.4.7-3.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
    Preparing...                ########################################### [100%]
       1:cpp                    ########################################### [100%]
    [root@localhost gcc]# rpm -ivh kernel-headers-2.6.32-358.el6.x86_64.rpm 
    warning: kernel-headers-2.6.32-358.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
    Preparing...                ########################################### [100%]
       1:kernel-headers         ########################################### [100%]
    [root@localhost gcc]# rpm -ivh glibc-headers-2.12-1.107.el6.x86_64.rpm 
    warning: glibc-headers-2.12-1.107.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
    Preparing...                ########################################### [100%]
       1:glibc-headers          ########################################### [100%]
    [root@localhost gcc]# rpm -ivh glibc-devel-2.12-1.107.el6.x86_64.rpm 
    warning: glibc-devel-2.12-1.107.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
    Preparing...                ########################################### [100%]
       1:glibc-devel            ########################################### [100%]
    [root@localhost gcc]# rpm -ivh libgomp-4.4.7-3.el6.x86_64.rpm 
    warning: libgomp-4.4.7-3.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
    Preparing...                ########################################### [100%]
       1:libgomp                ########################################### [100%]
    [root@localhost gcc]# rpm -ivh gcc-4.4.7-3.el6.x86_64.rpm 
    warning: gcc-4.4.7-3.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
    Preparing...                ########################################### [100%]
       1:gcc                    ########################################### [100%]
    [root@localhost gcc]# rpm -ivh libstdc++-devel-4.4.7-3.el6.x86_64.rpm 
    warning: libstdc++-devel-4.4.7-3.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
    Preparing...                ########################################### [100%]
       1:libstdc++-devel        ########################################### [100%]
    [root@localhost gcc]# rpm -ivh gcc-c++-4.4.7-3.el6.x86_64.rpm 
    warning: gcc-c++-4.4.7-3.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
    Preparing...                ########################################### [100%]
       1:gcc-c++                ########################################### [100%]
    [root@localhost gcc]# gcc -v
    使用内建 specs。
    目标:x86_64-redhat-linux
    配置为:../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
    线程模型:posix
    gcc 版本 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) 
    [root@localhost gcc]# g++ -v
    使用内建 specs。
    目标:x86_64-redhat-linux
    配置为:../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
    线程模型:posix
    gcc 版本 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) 
    

    ok!

  • 相关阅读:
    vue之$nextTick详解
    vue动态组件,运用以及效果选项卡的运用
    深度解析vue之组件之间传值调用方法的奇淫技巧
    关于vuex模块化深层理解实例
    vue效果之改element的el-checkbox-group多选框组为单选可取消的单选框(样式还是多选框的样式)
    vue-div,文字无限滚动效果
    new webpack.ProvidePlugin vue模块化的全局引用
    实践开发:vue框架重点知识分析
    前端工程化,组件化,模块化,层次化
    开发中的细节整理
  • 原文地址:https://www.cnblogs.com/chenglee/p/8418434.html
Copyright © 2011-2022 走看看