更新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
更新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