CentOS 7.6下安装gcc 9.3.0 本文主要介绍怎么在CentOS 7.6环境下安装GCC 9.3.0,适用于部分源码包需要高版本的gcc进行编译的场景,需要准备的环境有: CentOS 7.6 gcc-9.3.0.tar.gz yum install -y gcc gcc-c++ wget bzip2 flex tar xf gcc-releases-gcc-9.3.0.tar.gz cd gcc-releases-gcc-9.3.0 ./contrib/download_prerequisites mkdir -p usr/lib/gcc/x86_64-redhat-linux/9.3.0 configure --prefix=/usr/lib/gcc/x86_64-redhat-linux/9.3.0/ \ --enable-checking=release \ --enable-languages=c,c++ \ --disable-multilib make && make install gcc --version
标签:gcc,CentOS,tar,--,7.6,GCC9.3,安装,centos7.6,9.3 From: https://www.cnblogs.com/vmsysjack/p/17220684.html