gcc-config: Active gcc profile is invalid解决办法

错误描述

Gentoo软件安装错误,提示:

gcc-config: Active gcc profile is invalid

解决方法:

  • 列出可用的profile
gcc-config -l

gcc-config: Active gcc profile is invalid!
[1] i686-pc-linux-gnu-4.6.3

  • 显示当前使用的profile
gcc-config -c

gcc-config: Active gcc profile is invalid!
[1] i686-pc-linux-gnu-4.6.3

  • 设置profile
gcc-config i686-pc-linux-gnu-4.6.3

Switching native-compiler to i686-pc-linux-gnu-4.6.3 ...
Regenerating /etc/ld.so.cache... [ ok ]

posted @ 2014-09-02 16:52  孤逐王  阅读(238)  评论(0编辑  收藏  举报