LFS Version 6.2 - Binutils-2.16.1 - Pass 1 - compilation fails

Chris Staub chris at beaker67.com
Sat Aug 5 07:09:25 PDT 2006

Mag. Leonhard Landrock wrote:
> Hi everyone!
> Now, that LFS-BOOK 6.2 is out I did a new try on LFS.
> I am using Debian testing (etch) and here the problem starts. The system has 
> some tools in an version to new for the book.
> I am writing some scripts for my LFS build. Here is the output of my first 
> script (NOTE: It tells for each tool the version needed and the version 
> installed):
> No, if I try to compile binutils, I get the following error:
> creating cache ./config.cache
> checking host system type... i686-pc-linux-gnu
> checking target system type... i686-pc-linux-gnu
> checking build system type... i686-pc-linux-gnu
> checking for a BSD compatible install... /usr/bin/install -c
> checking whether ln works... yes
> checking whether ln -s works... yes
> checking for gcc... gcc
> checking whether the C compiler (gcc  ) works... no
> configure: error: installation or configuration problem: C compiler cannot 
> create executables.
> make: *** No targets specified and no makefile found.  Stop.
> make: *** No rule to make target `install'.  Stop.
> make: *** ld: No such file or directory.  Stop.
> make: *** ld: No such file or directory.  Stop.
> Note, that I just realized that error after I tried to build gcc. Probably the 
> (failed) gcc build broke something.
> BTW: My binutils script looks like this:
> Can anyone give me a hint, where the error might result from?
> Kind regards,
> Leonhard.

More information is needed. What do you mean "failed GCC build"? Is this 
binutils pass 1 or pass 2?

More information about the lfs-support mailing list