From d72e04ae7c868b734e3ad39982b169c71444f541 Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Sun, 30 Jan 2005 12:51:22 +0000 Subject: Added tags. Added NEW comments to commands that differs from testing. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4599 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/adjusting.xml | 3 ++- chapter05/binutils-pass1.xml | 3 ++- chapter05/binutils-pass2.xml | 2 ++ chapter05/gcc-pass1.xml | 1 + chapter05/gcc-pass2.xml | 6 +++--- 5 files changed, 10 insertions(+), 5 deletions(-) (limited to 'chapter05') diff --git a/chapter05/adjusting.xml b/chapter05/adjusting.xml index 473d895d9..12da057ac 100644 --- a/chapter05/adjusting.xml +++ b/chapter05/adjusting.xml @@ -32,7 +32,8 @@ readelf -l a.out | grep ': /tools' The output of the last command will be of the form: -[Requesting program interpreter: /tools/lib/ld-linux.so.2] +[Requesting program interpreter: + /tools/lib/ld-linux.so.2] Remove the test files: diff --git a/chapter05/binutils-pass1.xml b/chapter05/binutils-pass1.xml index fa8c23f2e..8d891918e 100644 --- a/chapter05/binutils-pass1.xml +++ b/chapter05/binutils-pass1.xml @@ -32,7 +32,8 @@ cd ../binutils-build Now prepare Binutils for compilation: -../binutils-&binutils-version;/configure --prefix=/tools --disable-nls +../binutils-&binutils-version;/configure --prefix=/tools \ + --disable-nls Continue with compiling the package: diff --git a/chapter05/binutils-pass2.xml b/chapter05/binutils-pass2.xml index 9c79ecf2c..21c890903 100644 --- a/chapter05/binutils-pass2.xml +++ b/chapter05/binutils-pass2.xml @@ -36,6 +36,7 @@ cd ../binutils-build Test the results: + make -k check Except for a few known failures, the binutils tests should all pass. The @@ -44,6 +45,7 @@ exceptions to this rule are as follows: * 5 FAIL (unexpected failure) for visibility * 1 FAIL for selective4 * 1 FAIL for selective5 + And install the package: diff --git a/chapter05/gcc-pass1.xml b/chapter05/gcc-pass1.xml index c878bd4b2..8f041f7fe 100644 --- a/chapter05/gcc-pass1.xml +++ b/chapter05/gcc-pass1.xml @@ -27,6 +27,7 @@ cd ../gcc-build Prepare GCC for compilation: + CC="gcc -B/usr/bin" ../gcc-&gcc-version;/configure \ --prefix=/tools --libexecdir=/tools/lib \ --with-local-prefix=/tools --disable-nls \ diff --git a/chapter05/gcc-pass2.xml b/chapter05/gcc-pass2.xml index 61bd3e9b6..314727252 100644 --- a/chapter05/gcc-pass2.xml +++ b/chapter05/gcc-pass2.xml @@ -38,9 +38,9 @@ cd ../gcc-build ../gcc-&gcc-version;/configure --prefix=/tools \ --libexecdir=/tools/lib --with-local-prefix=/tools \ - --enable-clocale=gnu --enable-shared --enable-threads=posix \ - --enable-__cxa_atexit --enable-languages=c,c++ \ - --disable-libstdcxx-pch + --enable-clocale=gnu --enable-shared \ + --enable-threads=posix --enable-__cxa_atexit \ + --enable-languages=c,c++ --disable-libstdcxx-pch Compile the package: -- cgit v1.2.3-54-g00ecf