Gentoo Archives: gentoo-user

From: Michael Sullivan <michael@××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] C compiler cannot create executables [SOLVED]
Date: Thu, 24 Nov 2005 18:30:09
Message-Id: 1132856712.10262.6.camel@camille.espersunited.com
In Reply to: Re: [gentoo-user] C compiler cannot create executables by Michael Sullivan
1 On Thu, 2005-11-24 at 11:21 -0600, Michael Sullivan wrote:
2 > On Thu, 2005-11-24 at 10:09 -0600, Michael Sullivan wrote:
3 > > On Thu, 2005-11-24 at 13:05 +0100, Matthias Langer wrote:
4 > > > On Wed, 2005-11-23 at 22:49 -0600, Michael Sullivan wrote:
5 > > > > I think I've somehow managed to screw gcc up. Whenever I try to emerge
6 > > > > anything I get this message:
7 > > > >
8 > > > > checking for C compiler default output... configure: error: C compiler
9 > > > > cannot create executables
10 > > > >
11 > > > > It also says "See config.log for details", but I can't find config.log -
12 > > > > it doesn't give a full path. Is there a way to repair this without
13 > > > > having to completely reinstall Gentoo?
14 > > > >
15 > > >
16 > > > I've had this problem too some time ago - however, i'm not sure how i
17 > > > solved it - but i think it was something with fix-libtool.sh or
18 > > > gcc-config. Try to compile a simple c-program by hand - maybe this will
19 > > > give you some hints about the source of your problem.
20 > > >
21 > > > Matthias
22 > >
23 > >
24 > > I created a simple "Hello World" program in C and tried to compile it
25 > > using gcc:
26 > >
27 > > camille ~ # gcc hello.c
28 > > gcc: installation problem, cannot exec `as': No such file or directory
29 >
30 > I ran "equery belongs as" and one of the packages that contains that
31 > program was binutils. I checked the location the the program and it
32 > indeed did not exist which supports my theory. Is there a way to
33 > rebuild binutils without using gcc?
34
35 I downloaded the stage 3 tarball and found the files I need and copied
36 them over. It worked. I'm in the process of emergine --emptytree
37 binutils and gcc atm...
38
39 --
40 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] C compiler cannot create executables [SOLVED] Matan Peled <chaosite@×××××.com>