Linux gcc版本升级
操作环境 RHEL/C entos 6/ 7 ,在进行内核编译时编译器版本,需要升级gcc编译器,选择gcc-7.3.0。 http://ftp.gnu.org/gnu/gcc 里面提供所有的gcc版本供下载。 1、查看当前 RHEL/C entos 版本: [root@linuxprobe ~]# cat /etc/redhat- release Red Hat Enterprise Linux Server release 7.0 (Maipo) 2、查看现有的gcc版本: [root@linuxprobe ~]# gcc -- version gcc (GCC) 4.8 . 2 20140120 (Red Hat 4.8 . 2 - 16 ) Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [root@linuxprobe ~]# gcc - v Using built - in specs. COLLECT