1 |
Philip Webb wrote: |
2 |
> 061028 Hans de Hartog wrote: |
3 |
> |
4 |
>>it dies at the first emerge with: |
5 |
>>checking for C++ compiler default output file name... configure: error: |
6 |
>>C++ compiler cannot create executables. |
7 |
> |
8 |
> ... |
9 |
> |
10 |
>>CHOST="i486-pc-linux-gnu" |
11 |
> |
12 |
> |
13 |
> do 'gcc-config -c' & 'gcc-config -l' to explore; |
14 |
> try 'gcc-config i486-pc-linux-gnu-4.1.1' to fix the problem. |
15 |
> |
16 |
|
17 |
dehartog@kwetal ~ $ gcc-config -c |
18 |
* gcc-config: Active gcc profile is invalid! |
19 |
[1] i386-pc-linux-gnu-4.1.1 |
20 |
dehartog@kwetal ~ $ gcc-config -l |
21 |
* gcc-config: Active gcc profile is invalid! |
22 |
[1] i386-pc-linux-gnu-4.1.1 |
23 |
dehartog@kwetal ~ $ su - |
24 |
Password: |
25 |
kwetal ~ # gcc-config i486-pc-linux-gnu-4.1.1 |
26 |
* gcc-config: Could not locate 'i486-pc-linux-gnu-4.1.1' in |
27 |
'/etc/env.d/gcc/' ! |
28 |
|
29 |
|
30 |
Contents of the FILE /etc/env.d/05gcc: |
31 |
PATH="/usr/i386-pc-linux-gnu/gcc-bin/3.4.6" |
32 |
ROOTPATH="/usr/i386-pc-linux-gnu/gcc-bin/3.4.6" |
33 |
MANPATH="/usr/share/gcc-data/i386-pc-linux-gnu/3.4.6/man" |
34 |
INFOPATH="/usr/share/gcc-data/i386-pc-linux-gnu/3.4.6/info" |
35 |
LDPATH="/usr/lib/gcc/i386-pc-linux-gnu/3.4.6:/usr/lib/gcc/i386-pc-linux-gnu/4.1. |
36 |
1" |
37 |
GCC_SPECS="" |
38 |
|
39 |
In the DIRECTORY /etc/env.d/gcc are two files: |
40 |
|
41 |
config |
42 |
====== |
43 |
CURRENT=i386-pc-linux-gnu-3.4.6 |
44 |
|
45 |
i386-pc-linux-gnu-4.1.1 |
46 |
======================= |
47 |
PATH="/usr/i386-pc-linux-gnu/gcc-bin/4.1.1" |
48 |
ROOTPATH="/usr/i386-pc-linux-gnu/gcc-bin/4.1.1" |
49 |
LDPATH="/usr/lib/gcc/i386-pc-linux-gnu/4.1.1" |
50 |
GCCBITS="32" |
51 |
MANPATH="/usr/share/gcc-data/i386-pc-linux-gnu/4.1.1/man" |
52 |
INFOPATH="/usr/share/gcc-data/i386-pc-linux-gnu/4.1.1/info" |
53 |
STDCXX_INCDIR="g++-v4" |
54 |
-- |
55 |
gentoo-user@g.o mailing list |