您的位置:首页 > 其它

gcc 出错 gcc-config: Active gcc profile is invalid!, 解决方法

2010-05-31 10:00 375 查看
http://forums.gentoo.org/viewtopic.php?t=27486

 

This is usually caused by
doing an emerge world that includes a gcc upgrade. What happens is, the
new gcc is compiled, but the ebuild fails to switch your system to the
new compiler. Before trying any of the solutions above, try doing:

Code:

# gcc-config
You should be presented with a list of GCC versions that are available
on your machine. Each version has a number next to it. Find the latest
version of gcc's number, (for example, 1), and type:

Code:

# gcc-config 1
...to switch to the new compiler. Then,

Code:

# source /etc/profile
... and continue emerging or whatever you were doing.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  gcc system each list
相关文章推荐