Changeset 7953

Show
Ignore:
Timestamp:
03/02/07 16:23:14 (2 years ago)
Author:
jhuntwork
Message:

Warnings and important notices about a command that appear after instructions to run it are evil.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/BOOK/chapter01/changelog.xml

    r7951 r7953  
    3838 
    3939    <listitem> 
     40      <para>2007-03-1</para> 
     41      <itemizedlist> 
     42        <listitem> 
     43          <para>[jhuntwork] - Minor grammatical changes. Move some warnings and 
     44          notices to appear before affected commands.</para> 
     45        </listitem> 
     46      </itemizedlist> 
     47    </listitem> 
     48 
     49    <listitem> 
    4050      <para>2007-02-25</para> 
    4151      <itemizedlist> 
  • trunk/BOOK/chapter05/adjusting.xml

    r7932 r7953  
    3333  dumping GCC's <quote>specs</quote> file to a location where GCC will look for it 
    3434  by default. A simple <command>sed</command> substitution then alters the 
    35   dynamic linker that GCC will use:</para> 
     35  dynamic linker that GCC will use.</para> 
    3636 
    37 <!-- Ampersands are needed to allow copy and paste --> 
    38 <screen><userinput>gcc -dumpspecs | sed 's@^/lib/ld-linux.so.2@/tools&amp;@g' \ 
    39   > `dirname $(gcc -print-libgcc-file-name)`/specs</userinput></screen> 
    40  
    41   <para>It is recommended that the above command be copy-and-pasted in order to 
    42   ensure accuracy. Be sure to visually inspect the specs file in order to 
    43   verify that all occurrences of <quote>/lib/ld-linux.so.2</quote> have been 
    44   replaced with <quote>/tools/lib/ld-linux.so.2</quote>.</para> 
     37  <para>For the sake of accuracy, it is recommended to use a copy-and-paste 
     38  method when issuing the following command. Be sure to visually inspect the 
     39  specs file and verify that all occurrences of <quote>/lib/ld-linux.so.2</quote> 
     40  have been replaced with <quote>/tools/lib/ld-linux.so.2</quote>.</para> 
    4541 
    4642  <important> 
     
    4844    something other than <filename class="libraryfile">ld-linux.so.2</filename>, 
    4945    replace <quote>ld-linux.so.2</quote> with the name of the platform's 
    50     dynamic linker in the above commands. Refer back to <xref 
     46    dynamic linker in the following commands. Refer back to <xref 
    5147    linkend="ch-tools-toolchaintechnotes" role=","/> if necessary.</para> 
    5248  </important> 
     49 
     50<!-- Ampersands are needed to allow copy and paste --> 
     51<screen><userinput>gcc -dumpspecs | sed 's@^/lib/ld-linux.so.2@/tools&amp;@g' \ 
     52  > `dirname $(gcc -print-libgcc-file-name)`/specs</userinput></screen> 
    5353 
    5454  <para>During the build process, GCC runs a script