From 2914987be2f15790bf042ec4f1e39361e6937dc8 Mon Sep 17 00:00:00 2001 From: Jeremy Huntwork Date: Thu, 26 Jan 2006 14:45:36 +0000 Subject: Adjust chapter 5 binutils to build a static ld-new for use in the chapter 6 readjusting section. Also add some extended sanity checks. These fixes are adapted from DIY-Linux and Greg Schafer. Thanks to Dan Nicholson for the report, as well. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7308 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/binutils-pass2.xml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'chapter05') diff --git a/chapter05/binutils-pass2.xml b/chapter05/binutils-pass2.xml index d1bbec87f..ebc0f30e7 100644 --- a/chapter05/binutils-pass2.xml +++ b/chapter05/binutils-pass2.xml @@ -49,7 +49,7 @@ cd ../binutils-build Prepare Binutils for compilation: ../binutils-&binutils-version;/configure --prefix=/tools \ - --disable-nls --enable-shared --with-lib-path=/tools/lib + --disable-nls --with-lib-path=/tools/lib The meaning of the new configure options: @@ -80,6 +80,13 @@ cd ../binutils-build Install the package: + Now prepare the linker for the Re-adjusting phase in + the next chapter: + +make -C ld clean +make -C ld LDFLAGS="-s" LIB_PATH=/usr/lib:/lib +cp -v ld/ld-new /tools/bin + make install -- cgit v1.2.3-54-g00ecf