Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] C compiler cannot create executables Michael Sullivan <michael@××××××××××××.com>
Re: [gentoo-user] C compiler cannot create executables [SOLVED] Michael Sullivan <michael@××××××××××××.com>