Re: [gentoo-user] C compiler cannot create executables [SOLVED]

2005-11-25 Thread Matan Peled

Michael Sullivan wrote:

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...


That works, but I would have attempted playing with binutils-config first.


--
[Name  ]   ::  [Matan I. Peled]
[Location  ]   ::  [Israel]
[Public Key]   ::  [0xD6F42CA5]
[Keyserver ]   ::  [keyserver.kjsl.com]
encrypted/signed  plain text  preferred

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] C compiler cannot create executables [SOLVED]

2005-11-24 Thread Michael Sullivan
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