From 19f8a620a823825993a4e910a580cd8d1ed552f6 Mon Sep 17 00:00:00 2001 From: Jeremy Huntwork Date: Fri, 2 Mar 2007 23:23:14 +0000 Subject: Warnings and important notices about a command that appear after instructions to run it are evil. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7953 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 10 ++++++++++ chapter05/adjusting.xml | 20 ++++++++++---------- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 36f2ad6ef..647e5f6e3 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -36,6 +36,16 @@ --> + + 2007-03-1 + + + [jhuntwork] - Minor grammatical changes. Move some warnings and + notices to appear before affected commands. + + + + 2007-02-25 diff --git a/chapter05/adjusting.xml b/chapter05/adjusting.xml index 144719698..bca6d56fb 100644 --- a/chapter05/adjusting.xml +++ b/chapter05/adjusting.xml @@ -32,25 +32,25 @@ ln -sv /tools/bin/ld /tools/$(gcc -dumpmachine)/bin/ld The next task is to point GCC to the new dynamic linker. This is done by dumping GCC's specs file to a location where GCC will look for it by default. A simple sed substitution then alters the - dynamic linker that GCC will use: + dynamic linker that GCC will use. - -gcc -dumpspecs | sed 's@^/lib/ld-linux.so.2@/tools&@g' \ - > `dirname $(gcc -print-libgcc-file-name)`/specs - - It is recommended that the above command be copy-and-pasted in order to - ensure accuracy. Be sure to visually inspect the specs file in order to - verify that all occurrences of /lib/ld-linux.so.2 have been - replaced with /tools/lib/ld-linux.so.2. + For the sake of accuracy, it is recommended to use a copy-and-paste + method when issuing the following command. Be sure to visually inspect the + specs file and verify that all occurrences of /lib/ld-linux.so.2 + have been replaced with /tools/lib/ld-linux.so.2. If working on a platform where the name of the dynamic linker is something other than ld-linux.so.2, replace ld-linux.so.2 with the name of the platform's - dynamic linker in the above commands. Refer back to if necessary. + +gcc -dumpspecs | sed 's@^/lib/ld-linux.so.2@/tools&@g' \ + > `dirname $(gcc -print-libgcc-file-name)`/specs + During the build process, GCC runs a script (fixincludes) that scans the system for header files that may need to be fixed (they might contain syntax errors, for example), -- cgit v1.2.3-54-g00ecf