Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 170954 - prefix-portage sys-devel/gcc-config-1.3.15-r1
Summary: prefix-portage sys-devel/gcc-config-1.3.15-r1
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo non-Linux Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-14 22:06 UTC by Matt Michalowski
Modified: 2007-03-15 11:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Michalowski 2007-03-14 22:06:02 UTC
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:
Comment 1 Fabian Groffen gentoo-dev 2007-03-15 08:36:25 UTC
what happens if you do `gcc-config 1` ?
Comment 2 Fabian Groffen gentoo-dev 2007-03-15 11:26:32 UTC
I had the same problem here.  I had to kill the window and start a new (login) shell.  After that it works fine.