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 1EfLrE-0004iJ-OX for garchives@archives.gentoo.org; Thu, 24 Nov 2005 18:30:09 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jAOITCD7030277; Thu, 24 Nov 2005 18:29:12 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 jAOIPGmC001447 for ; Thu, 24 Nov 2005 18:25:17 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 jAOIPARp008958 for ; Thu, 24 Nov 2005 12:25:14 -0600 Subject: Re: [gentoo-user] C compiler cannot create executables [SOLVED] 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 12:25:12 -0600 Message-Id: <1132856712.10262.6.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: 6d1b7c45-7a4d-422d-b38a-c57705c0d43f X-Archives-Hash: 9d911ae324c92a4ab61efc88af749408 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? I downloaded the stage 3 tarball and found the files I need and copied them over. It worked. I'm in the process of emergine --emptytree binutils and gcc atm... -- gentoo-user@gentoo.org mailing list