I haven't built an LFS system in a while. It was probably book 5 if I 
remember correctly. Anyway, back then I didn't have any problems. Today 
using book 6.3 I've fallen over at the very first step of Chapter 5 - 
Binutils 2.17 pass 1.

Just so you know, I am building using Ubuntu Gutsy 7.10, which I assume 
could be causing the issue here.

$LFS = /media/sdb3

/tools -> /media/sdb3/tools

and all sources were downloaded from planetmirror.


I followed the book to the letter from what i can tell:
[EMAIL PROTECTED]:/media/sdb3/binutils-build$ CC="gcc -B/usr/bin/"
[EMAIL PROTECTED]:/media/sdb3/binutils-build$ time { 
../binutils-2.17/configure --prefix=/tools --disable-nls 
--disable-werror && make && make install }

This seems to tick over nicely - no errors are reported at least. But 
then I try and follow the next step "Prepare the linker for the 
Adjusting phase later on"
make -C ld clean  works fine
make -C ld LIB_PATH=/tools/lib fails with:
/tools/bin/ld: unrecognized option '--hash-style=both'
/tools/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status
make[2]: *** [ld-new] Error 1
make[2]: Leaving directory `/media/sdb3/sources/binutils-build/ld'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/media/sdb3/sources/binutils-build/ld'
make: *** [all] Error 2
make: Leaving directory `/media/sdb3/sources/binutils-build/ld'


Any help is appreciated.

Cheers,
Robert

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to