在Ubuntu 18.04.5中更改gcc编译器版本

时间:2020-08-29 11:55:49

标签: ubuntu gcc compilation ubuntu-18.04

我正在尝试更改mi gcc编译器版本。我安装了gcc 9,但是当我使用命令查看我的gcc版本时

'''gcc --version'''

我总是得到这个:

gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 Copyright (C) 2017 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.

如何更改我的gcc编译器版本?

0 个答案:

没有答案