Gentoo更新后GCC无法使用的解决办法

来源:互联网 发布:java method是什么 编辑:程序博客网 时间:2024/04/29 03:34

更新gentoo系统后,运行gcc发现有如下提示:

 * gcc-config: Active gcc profile is invalid!
gcc-config: error: could not run/locate 'gcc'

解决办法:

gcc-config -l    列出可用的配置:

[1] x86_64-pc-linux-gnu-4.8.1

然后运行  gcc-config  x86_64-pc-linux-gnu-4.8.1


参考:http://forums.gentoo.org/viewtopic-p-7404280.html

原创粉丝点击