[Help] GCC installation-general Linux technology-Linux technology and application information. The following is a detailed description. The original system itself comes with gcc 4.0 I uninstalled, and then installed gcc 3.4.6 prompt:
The following error occurs when you use the Add/delete program that comes with the system:
Missing Dependency: libgomp = 4.1.2-33 is needed by package gcc
Missing Dependency: cpp = 4.1.2-33 is needed by package gcc
However, cpp libgomp is installed.
----
Install with source code:
[Root @ localhost gcc-3.4.6] #/opt/gcc-3.4.6/configure -- prefix =/usr/local/gcc-3.4.6/
Creating cache./config. cache
Checking host system type... i686-pc-linux-gnu
Checking target system type... i686-pc-linux-gnu
Checking build system type... i686-pc-linux-gnu
Checking for a BSD compatible install.../usr/bin/install-c
/Opt/gcc-3.4.6/configure: line 2339: cc: command not found
* ** The command 'CC-o conftest-g conftest. c' failed.
* ** You must set the environment variable CC to a working compiler.
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