Gcc installation in RedhatLinux9.0

Source: Internet
Author: User
Before installation, the RedHatLinux9.0 system must have a cc, gcc, and other compilers available, or use the environment variable CC to specify the compiler on the system. If the system does not have a compiler, GCC3.4.0 in the source code form cannot be installed. If this is the case, you can find a GCC software package in binary format such as RPM that suits your system on the Internet for installation and use. # Rpm-ivhgcc *. rpmredhat9 if it is installed with minimal, gcc is not loaded in the system.

Before installation, the RedHat Linux 9.0 system must have a cc, gcc, and other compilers available, or use the environment variable CC to specify the compiler on the system. If the system does not have a compiler, you cannot install GCC 3.4.0 in the source code format. If this is the case, you can find a GCC software package in binary format such as RPM that suits your system on the Internet for installation and use.

# Rpm-ivh gcc *. rpm
If redhat 9 is installed with minimal, gcc is not installed in the system.
Load redhat 9 disk1
# Rpm-Uvh binutils-2.13.90.0.18-9.i386.rpm
# Rpm-Uvh cpp-3.2.2-5.i386.rpm
# Rpm-Uvh glibc-devel-2.3.2-11.9.i386.rpm
Load redhat 9 disk2 and install gcc
# Rpm-Uvh gcc-3.2.2-5.i386.rpm

If g ++ is installed, first install the software package libstdc ++-devel
# Rpm-Uvh libstdc ++ devel-3.2.2-5.i386.rpm
# Rpm-Uvh gcc-c ++-3.2.2-5. i386.rpm

If gcc-java is installed, first install libgcj-3.2.2-5.i386.rpm and libgcj-devel-3.2.2-5.i386.rpm
# Rpm-Uvh libgcj-3.2.2-5.i386.rpm
# Rpm-Uvh libgcj-devel-3.2.2-5.i386.rpm

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.