diff --git a/chapter05/binutils-pass1.xml b/chapter05/binutils-pass1.xml index b07971f5c..8a4880b46 100644 --- a/chapter05/binutils-pass1.xml +++ b/chapter05/binutils-pass1.xml @@ -52,6 +52,12 @@ linker and assembler to determine which of their own features to enable. + Fix a couple of syntax errors that prevent the documentation from + building with Texinfo-&texinfo-version;: + +sed -i -e 's/@colophon/@@colophon/' \ + -e 's/doc@cygnus.com/doc@@cygnus.com/' bfd/doc/bfd.texinfo + The Binutils documentation recommends building Binutils outside of the source directory in a dedicated build directory: @@ -70,12 +76,6 @@ cd ../binutils-build The approximate build SBU values and required disk space in Chapter 5 does not include test suite data. - Fix a couple of syntax errors that prevent the documentation from - building with Texinfo-&texinfo-version;: - -sed -i -e 's/@colophon/@@colophon/' \ - -e 's/doc@cygnus.com/doc@@cygnus.com/' bfd/doc/bfd.texinfo - Now prepare Binutils for compilation: ../binutils-&binutils-version;/configure \ diff --git a/chapter05/binutils-pass2.xml b/chapter05/binutils-pass2.xml index d2e2b5306..4d661296c 100644 --- a/chapter05/binutils-pass2.xml +++ b/chapter05/binutils-pass2.xml @@ -43,17 +43,17 @@ Installation of Binutils - Create a separate build directory again: - -mkdir -v ../binutils-build -cd ../binutils-build - Fix a couple of syntax errors that prevent the documentation from building with Texinfo-&texinfo-version;: sed -i -e 's/@colophon/@@colophon/' \ -e 's/doc@cygnus.com/doc@@cygnus.com/' bfd/doc/bfd.texinfo + Create a separate build directory again: + +mkdir -v ../binutils-build +cd ../binutils-build + Prepare Binutils for compilation: CC=$LFS_TGT-gcc \ diff --git a/chapter06/adjusting.xml b/chapter06/adjusting.xml index 48057ee6c..78ba0a00e 100644 --- a/chapter06/adjusting.xml +++ b/chapter06/adjusting.xml @@ -32,7 +32,7 @@ ln -sv /tools/bin/ld /tools/$(gcc -dumpmachine)/bin/ld gcc -dumpspecs | sed -e 's@/tools@@g' \ -e '/\*startfile_prefix_spec:/{n;s@.*@/usr/lib/ @}' \ - -e '/\*cpp:/{n;s@$@ -isystem /usr/include@}' & \ + -e '/\*cpp:/{n;s@$@ -isystem /usr/include@}' > \ `dirname $(gcc --print-libgcc-file-name)`/specs It is a good idea to visually inspect the specs file to verify the diff --git a/general.ent b/general.ent index eb6e98cb2..65e1a0b95 100644 --- a/general.ent +++ b/general.ent @@ -1,5 +1,5 @@ - - + +