DIGIT-ARC read-only archive · snapshot: July 23, 2026

help me on Linux from Scratch (compiling binutils)

4 posts · originally from https://geek.digit.in/community/threads/help-me-on-linux-from-scratch-compiling-binutils.56302/

C
cranky Original post #1
Apr 28, 2007 at 7:45 AM
Hi, can anyone help me on building linux from scratch? I am trying to build my own linux for the 1st time, but am stuck in the early stage itself...
I use Fedora core 6 as my host system, I am referring to the LFS book ver. 6.2 and am currently in chapter 5.3

I get these errors when I do 'make -C ld LIB_PATH=/tools/lib' i.e., after make & make install....
This is what i get in the ending part of the output: -
Code:
 /tools/bin/ld: unrecognized option '--hash-style=gnu'
/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 `/LFS/sources/binutils-build/ld'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/LFS/sources/binutils-build/ld'
make: *** [all-recursive-am] Error 2
make: Leaving directory `/LFS/sources/binutils-build/ld'

What could be the problem? please help, hope I've given enough details
M
Apr 28, 2007 at 9:32 AM
For starting, try to use their mailing list.
And see if there's anything useful here *wiki.linuxfromscratch.org/lfs/ticket/1988
C
cranky #3
Apr 28, 2007 at 9:32 PM
Thanx!! for the link it worked! :)
M
Apr 28, 2007 at 10:37 PM
That's great. So, tinkering around with it just to learn or got something specific?