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? -- gentoo-user@gentoo.org mailing list