Seems to not be working. # gcc-config --version gcc-config-1.3.15-r1 # gcc-config -l [1] i686-pc-linux-gnu-4.1.2 * # gcc-config i686-pc-linux-gnu-4.1.2 * Switching native-compiler to i686-pc-linux-gnu-4.1.2 ... [ ok ] # gcc -v sh: line 1: /usr/bin/gcc-config: No such file or directory gcc-config error: Could not get compiler binary path: No such file or directory Works OK in the older version: # gcc-config --version gcc-config-1.3.14 # gcc-config -l [1] i686-pc-linux-gnu-4.1.2 * # gcc-config i686-pc-linux-gnu-4.1.2 * Switching native-compiler to i686-pc-linux-gnu-4.1.2 ... [ ok ] # gcc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: /opt/hwbp/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/configure --prefix=/opt/hwbp/usr --bindir=/opt/hwbp/usr/i686-pc-linux-gnu/gcc-bin/4.1.2 --includedir=/opt/hwbp/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include --datadir=/opt/hwbp/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2 --mandir=/opt/hwbp/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/man --infodir=/opt/hwbp/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/info --with-gxx-include-dir=/opt/hwbp/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --disable-nls --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --disable-multilib --disable-libmudflap --disable-libssp --enable-languages=c,c++,d,java --enable-shared --enable-threads=posix --with-local-prefix=/opt/hwbp/usr --enable-__cxa_atexit --enable-clocale=gnu Thread model: posix gcc version 4.1.2 20070214 ( (gdc 0.23, using dmd 1.007)) (Gentoo 4.1.2) Reproducible: Always Steps to Reproduce:
what happens if you do `gcc-config 1` ?
I had the same problem here. I had to kill the window and start a new (login) shell. After that it works fine.