Redhat Linux manual RPM installation Gcc,g++__linux

Source: Internet
Author: User
Tags gtk posix

Reprint: http://blog.csdn.net/vah101/article/details/17677451


First go to http://vault.centos.org/6.5/os/x86_64/Packages/to download the used RPM package, including:
cloog-ppl-0.15.7-1.2.el6.x86_64.rpm
cpp-4.4.7-4.el6.x86_64.rpm
gcc-4.4.7-4.el6.x86_64.rpm
gcc-c++-4.4.7-4.el6.x86_64.rpm
glibc-devel-2.12-1.132.el6.x86_64.rpm
glibc-headers-2.12-1.132.el6.x86_64.rpm
kernel-headers-2.6.32-431.el6.x86_64.rpm
libstdc++-devel-4.4.7-4.el6.x86_64.rpm
mpfr-2.4.1-6.el6.x86_64.rpm
ppl-0.10.2-11.el6.x86_64.rpm


The installation process looks like this:

RPM-IVH ppl-0.10.2-11.el6.x86_64.rpm
RPM-IVH cloog-ppl-0.15.7-1.2.el6.x86_64.rpm
RPM-IVH mpfr-2.4.1-6.el6.x86_64.rpm
RPM-IVH cpp-4.4.7-4.el6.x86_64.rpm--force
RPM-IVH kernel-headers-2.6.32-431.el6.x86_64.rpm
RPM-IVH glibc-headers-2.12-1.132.el6.x86_64.rpm--force
RPM-IVH glibc-devel-2.12-1.132.el6.x86_64.rpm--force
RPM-IVH gcc-4.4.7-4.el6.x86_64.rpm--force
RPM-IVH libstdc++-devel-4.4.7-4.el6.x86_64.rpm
RPM-IVH gcc-c++-4.4.7-4.el6.x86_64.rpm

Note: The--force parameter is forced to be replaced when the conflict is attempted, not necessarily required.


Verify after the installation is complete:

#gcc-V

Using built-in specs.
Target:x86_64-redhat-linux
Configured with:. /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
Thread Model:posix
GCC version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC)

#g + +-V

The

Using built-in specs.
Target:x86_64-redhat-linux
configured with:.. /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
Thread model:posix
gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.