From bc82645e958948a6aefd3147a0d7f712de9eaf6b Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Fri, 2 May 2003 18:20:20 +0000 Subject: Integrated Pure LFS - Phase 1 git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2490 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/binutils-inst.xml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'chapter06/binutils-inst.xml') diff --git a/chapter06/binutils-inst.xml b/chapter06/binutils-inst.xml index 8adbe9dbd..f9c329061 100644 --- a/chapter06/binutils-inst.xml +++ b/chapter06/binutils-inst.xml @@ -16,11 +16,16 @@ cd ../binutils-build Next, prepare Binutils to be compiled: -../binutils-&binutils-version;/configure --prefix=/usr --enable-shared +CFLAGS="-O2 -pipe" \ +    ../binutils-&binutils-version;/configure \ +    --prefix=/usr --mandir=/usr/share/man \ +    --infodir=/usr/share/info --enable-shared Continue with compiling the package: -make tooldir=/usr +make LDFLAGS="-s" + +make -k check Normally, the tooldir (the directory where the executables end up) is set to $(exec_prefix)/$(target_alias) which expands @@ -32,16 +37,9 @@ executed on Apple PowerPC machines). Install the package: -make tooldir=/usr install - -Install the info pages: - -make tooldir=/usr install-info - -Some packages require the libiberty header -in order to build. To honor those packages, install the file: +make install -cp ../binutils-&binutils-version;/include/libiberty.h /usr/include +rm /usr/lib/libiberty.a -- cgit v1.2.3-54-g00ecf