Home > OS >  Linux install GCC
Linux install GCC

Time:11-14

A start to install:
Reference: https://www.cnblogs.com/dybk/p/8085685.html
Start the installation
Download: http://ftp.gnu.org/gnu/gcc/gcc-8.4.0/gcc-8.4.0.tar.g
Extract: tar ZXVF GCC - 8.4.0. Tar. Gz decompression after CD GCC - 8.4.0 create directory compiled mkdir build
Then build CD
./configure
This step began an error , see this article says https://www.cnblogs.com/dail1990/p/10142728.html method performs yum - y install GCC GCC - c + + GDB, still an error

This system is nothing
And was later found to not be able to access the network want to mount image way to install
Reference: https://www.linuxidc.com/Linux/2014-09/107134.
Still won't do, however, modify the yum source fails, try again next time

CodePudding user response:

What you using this source, should not be no GCC

Modify source this failure can try again, but before that you can try to refresh the source

CodePudding user response:

In the system tray with GCC generally the installation package, just find out directly, can put the disc mount system can't access the network as a source for the installation

CodePudding user response:

Can't the network may be the reason for the source of the failure
(ping www.baidu.com
Ping: unknown host www.baidu.com),
Refresh the zha operation is the source?

There should be no GCC installation package, this libgcc should be GCC dependent, now also don't know how much

CodePudding user response:

Are you in a virtual machine is this?? True machine should not be

If is a virtual machine on this online tutorial there are many, mostly problems setting up the virtual machine

As to refresh the source ~ ~ ~ yum update, but you deserve good net to say again first

CodePudding user response:

reference 2 floor of the mouth of the cave of the peach blossom reply:
system generally plates with GCC installation package, just find out directly, the system can put the can't access the network installation cd-rom mount as a source for

CodePudding user response:

GCC is the basic environment ah, if is bad to use, personal advice with articulated manner yum install CD image
  • Related