1 |
Randy Barlow wrote: |
2 |
> So I am trying to bring my CHOST from i386-pc-linux-gnu to |
3 |
> i686-pc-linux-gnu by following the guide at |
4 |
> http://www.gentoo.org/doc/en/change-chost.xml. Well so far things |
5 |
> aren't working out so well. The first step is to change the CHOST |
6 |
> variable. I also went ahead and added nptl and nptlonly to my USE flags |
7 |
> while I was editing /etc/make.conf. Then I ran the command |
8 |
> |
9 |
> # emerge -av1 binutils gcc glibc |
10 |
> |
11 |
> binutils seemed to have merged correctly, but the configure script for |
12 |
> gcc seems to be having issues. The last few lines of output show: |
13 |
> |
14 |
> checking whether the C compiler (gcc -mtune=i686 -pipe -march=pentium3 |
15 |
> -O2 ) works... no |
16 |
> configure: error: installation or configuration problem: C compiler |
17 |
> cannot create executables. |
18 |
> |
19 |
> I tried to manually call a g++ command on some code I have, and got the |
20 |
> following error: |
21 |
> |
22 |
> g++: installation problem, cannot exec `as': No such file or directory |
23 |
> |
24 |
> So my compiler is broke. Any pointers on how to fix this? |
25 |
|
26 |
One thing I just thought of is that I could add the executables |
27 |
installed by binutils to my $PATH so that it can find them to build the |
28 |
new compiler - perhaps that will work? |
29 |
|
30 |
-- |
31 |
Randy Barlow |
32 |
http://www.electronsweatshop.com |
33 |
-- |
34 |
gentoo-user@g.o mailing list |