From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1EfKxY-0006Q4-TN for garchives@archives.gentoo.org; Thu, 24 Nov 2005 17:32:37 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jAOHVdw1011334; Thu, 24 Nov 2005 17:31:39 GMT Received: from bullet.espersunited.com (24-117-226-93.cpe.cableone.net [24.117.226.93]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jAOHRMFl015305 for ; Thu, 24 Nov 2005 17:27:25 GMT Received: from camille.espersunited.com (camille.espersunited.com [192.168.1.3]) by bullet.espersunited.com (8.13.4/8.13.3) with ESMTP id jAOHREnr008678 for ; Thu, 24 Nov 2005 11:27:19 -0600 Subject: Re: [gentoo-user] C compiler cannot create executables From: Michael Sullivan To: gentoo-user@lists.gentoo.org In-Reply-To: <1132852858.10258.1.camel@camille.espersunited.com> References: <1132807762.10255.10.camel@camille.espersunited.com> <1132833948.10250.3.camel@sputnik886.ruz-net> <1132848584.10251.12.camel@camille.espersunited.com> <1132852858.10258.1.camel@camille.espersunited.com> Content-Type: text/plain Date: Thu, 24 Nov 2005 11:27:14 -0600 Message-Id: <1132853235.10261.3.camel@camille.espersunited.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 Content-Transfer-Encoding: 7bit X-Archives-Salt: 49ece7b0-66c4-4bbb-8ac9-ec34863b67e3 X-Archives-Hash: d093cb2a3d0804bc23ee7e5dfabf46e3 On Thu, 2005-11-24 at 11:21 -0600, Michael Sullivan wrote: > On Thu, 2005-11-24 at 10:09 -0600, Michael Sullivan wrote: > > On Thu, 2005-11-24 at 13:05 +0100, Matthias Langer wrote: > > > On Wed, 2005-11-23 at 22:49 -0600, Michael Sullivan wrote: > > > > I think I've somehow managed to screw gcc up. Whenever I try to emerge > > > > anything I get this message: > > > > > > > > checking for C compiler default output... configure: error: C compiler > > > > cannot create executables > > > > > > > > It also says "See config.log for details", but I can't find config.log - > > > > it doesn't give a full path. Is there a way to repair this without > > > > having to completely reinstall Gentoo? > > > > > > > > > > I've had this problem too some time ago - however, i'm not sure how i > > > solved it - but i think it was something with fix-libtool.sh or > > > gcc-config. Try to compile a simple c-program by hand - maybe this will > > > give you some hints about the source of your problem. > > > > > > Matthias > > > > > > I created a simple "Hello World" program in C and tried to compile it > > using gcc: > > > > camille ~ # gcc hello.c > > gcc: installation problem, cannot exec `as': No such file or directory > > I ran "equery belongs as" and one of the packages that contains that > program was binutils. I checked the location the the program and it > indeed did not exist which supports my theory. Is there a way to > rebuild binutils without using gcc? OR would it help if I restored my backup of /etc from before the problem started? -- gentoo-user@gentoo.org mailing list