diff options
Diffstat (limited to 'chapter6/binutils.sh')
-rw-r--r-- | chapter6/binutils.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/chapter6/binutils.sh b/chapter6/binutils.sh new file mode 100644 index 0000000..b04f731 --- /dev/null +++ b/chapter6/binutils.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +mkdir -v build +cd build + +../configure \ + --prefix=/usr \ + --build=$(../config.guess) \ + --host=${LFS_TGT} \ + --disable-nls \ + --enable-shared \ + --disable-werror \ + --enable-64-bit-bfd && +make && +make DESTDIR=${LFS} -j1 install && +install -vm755 libctf/.libs/libctf.so.0.0.0 ${LFS}/usr/lib
\ No newline at end of file |