Linux gcc Compiler installation __linux

Source: Internet
Author: User


GCC (GNU Compiler Collection GNU Compilation Tool Collection) enables the C, C + +, and Java languages to be compiled from the source code into binary code, which is a tool.
Software dependencies:
The author develops a software, needs a function library, this function library already exists in the machine B software of the author at that time, so that a software does not need to repeat development, direct call B software corresponding function library can. If someone else buys a software, they will be prompted to install the B software (the purchaser's machine does not yet have B software).
When a software is installed on the purchaser's machine, it is prompted to install the B software first.
The process of installing a software must first install the B software, known as a to B-dependent.
Later a software on any machine installed on the B software will form a dependency.
"A relies on B-dependent C-dependent d"
①a software needs to install BCD and other dependent software before installation:
A------>b------->c-------->d (D->c->b->a is the installation order)
② uninstall C software also need to uninstall AB and other software first:
C------->b-------->a (A->b->c is uninstall order)

GCC Software Installation dependencies:
gcc-4.4.7 (c-language source GCC compiled)
CLOOG-PPL (software dependencies)
Libppl.so.7 (module dependent)
Libppl_c.so.2 (module dependent)
(above two dependencies is the module dependence, directly installs the module the software ppl can)
Cpp

Libmpfr.so.1

(The above dependency is module dependent, install MPFR software can)


gcc-c++-4.4.7 (gcc for compiling C + + language source)
Libstdc++-devel

Install GCC (C language Edition)
RPM-IVH ppl-0.10.2-11.e16.i686.rpm
rpm-ivh cloog-ppl-0.15.7-1.2.e16.i686.rpm
RPM-IVH mpfr-2.4.1-6.e16.i686.rpm
rpm-ivh cpp-4.4.7-11.e16.i686.rpm
rpm-ivh gcc-4.4.7-11.e16.i686.rpm

Install GCC (c + + edition)
rpm-ivh libstdc++-devel-4.4.7-11.e16.i686.rpm
rpm-ivh gcc-c++-4.4.7-11.e16.i686.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.