gentoo "gcc-config: active gcc profile is invalid"

引用
gcc-config error: Could not run/locate "i686-pc-linux-gnu-gcc
$ gcc-config -l
$ gcc-config -c
gcc-config: active gcc profile is invalid


引用
Then we manually checked around. First, try "gcc-config":

# gcc-config -c
* gcc-config: Active gcc profile is invalid!
[1] i686-pc-linux-gnu-4.3.2

Now fix that:

# gcc-config 1
* Switching native-compiler to i686-pc-linux-gnu-4.3.2 ...
* Your gcc has a bug with GCC_SPECS.
* Please re-emerge gcc.
* http://bugs.gentoo.org/68395


http://www.imminentweb.com/technologies/gcc-config-active-gcc-profile-invalid

你可能感兴趣的:(C++,c,linux,gcc,C#)