Greg Schafer wrote:
configure:1980: checking whether the C compiler (gcc ) works
configure:1996: gcc -o conftest conftest.c 1>&5
/home/lfs/binutils/bin/ld: unrecognized option '--hash-style=gnu'
/home/lfs/binutils/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status
configure: failed program was:
This looks very similar to an old problem, possibly one of the last
remaining bugs with the current build method. Details here:
http://www.diy-linux.org/pipermail/diy-linux-dev/2004-August/000050.html
Try starting from scratch, this time compiling Binutils-Pass1 like this:
CC="gcc -B/usr/bin/" \
../binutils-2.17/configure --prefix=/tools --disable-nls
and similar for GCC-Pass1.
Thanks! That worked a treat (specifying CC="gcc -B/usr/bin" \ for
binutils and gcc pass 1).
Amadeus
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page