浏览代码

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
Jeremy Huntwork 18 年之前
父节点
当前提交
19f8a620a8
共有 2 个文件被更改,包括 20 次插入10 次删除
  1. 10 0
      chapter01/changelog.xml
  2. 10 10
      chapter05/adjusting.xml

+ 10 - 0
chapter01/changelog.xml

@@ -36,6 +36,16 @@
     </listitem>
     </listitem>
 -->
 -->
 
 
+    <listitem>
+      <para>2007-03-1</para>
+      <itemizedlist>
+        <listitem>
+          <para>[jhuntwork] - Minor grammatical changes. Move some warnings and
+	  notices to appear before affected commands.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
     <listitem>
       <para>2007-02-25</para>
       <para>2007-02-25</para>
       <itemizedlist>
       <itemizedlist>

+ 10 - 10
chapter05/adjusting.xml

@@ -32,25 +32,25 @@ ln -sv /tools/bin/ld /tools/$(gcc -dumpmachine)/bin/ld</userinput></screen>
   <para>The next task is to point GCC to the new dynamic linker. This is done by
   <para>The next task is to point GCC to the new dynamic linker. This is done by
   dumping GCC's <quote>specs</quote> file to a location where GCC will look for it
   dumping GCC's <quote>specs</quote> file to a location where GCC will look for it
   by default. A simple <command>sed</command> substitution then alters the
   by default. A simple <command>sed</command> substitution then alters the
-  dynamic linker that GCC will use:</para>
+  dynamic linker that GCC will use.</para>
 
 
-<!-- Ampersands are needed to allow copy and paste -->
-<screen><userinput>gcc -dumpspecs | sed 's@^/lib/ld-linux.so.2@/tools&amp;@g' \
-  > `dirname $(gcc -print-libgcc-file-name)`/specs</userinput></screen>
-
-  <para>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 <quote>/lib/ld-linux.so.2</quote> have been
-  replaced with <quote>/tools/lib/ld-linux.so.2</quote>.</para>
+  <para>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 <quote>/lib/ld-linux.so.2</quote>
+  have been replaced with <quote>/tools/lib/ld-linux.so.2</quote>.</para>
 
 
   <important>
   <important>
     <para>If working on a platform where the name of the dynamic linker is
     <para>If working on a platform where the name of the dynamic linker is
     something other than <filename class="libraryfile">ld-linux.so.2</filename>,
     something other than <filename class="libraryfile">ld-linux.so.2</filename>,
     replace <quote>ld-linux.so.2</quote> with the name of the platform's
     replace <quote>ld-linux.so.2</quote> with the name of the platform's
-    dynamic linker in the above commands. Refer back to <xref
+    dynamic linker in the following commands. Refer back to <xref
     linkend="ch-tools-toolchaintechnotes" role=","/> if necessary.</para>
     linkend="ch-tools-toolchaintechnotes" role=","/> if necessary.</para>
   </important>
   </important>
 
 
+<!-- Ampersands are needed to allow copy and paste -->
+<screen><userinput>gcc -dumpspecs | sed 's@^/lib/ld-linux.so.2@/tools&amp;@g' \
+  > `dirname $(gcc -print-libgcc-file-name)`/specs</userinput></screen>
+
   <para>During the build process, GCC runs a script
   <para>During the build process, GCC runs a script
   (<command>fixincludes</command>) that scans the system for header files
   (<command>fixincludes</command>) that scans the system for header files
   that may need to be fixed (they might contain syntax errors, for example),
   that may need to be fixed (they might contain syntax errors, for example),