Changeset 7953
- Timestamp:
- 03/02/07 16:23:14 (2 years ago)
- Files:
-
- trunk/BOOK/chapter01/changelog.xml (modified) (1 diff)
- trunk/BOOK/chapter05/adjusting.xml (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/BOOK/chapter01/changelog.xml
r7951 r7953 38 38 39 39 <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> 40 50 <para>2007-02-25</para> 41 51 <itemizedlist> trunk/BOOK/chapter05/adjusting.xml
r7932 r7953 33 33 dumping GCC's <quote>specs</quote> file to a location where GCC will look for it 34 34 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> 36 36 37 <!-- Ampersands are needed to allow copy and paste --> 38 <screen><userinput>gcc -dumpspecs | sed 's@^/lib/ld-linux.so.2@/tools&@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> 45 41 46 42 <important> … … 48 44 something other than <filename class="libraryfile">ld-linux.so.2</filename>, 49 45 replace <quote>ld-linux.so.2</quote> with the name of the platform's 50 dynamic linker in the abovecommands. Refer back to <xref46 dynamic linker in the following commands. Refer back to <xref 51 47 linkend="ch-tools-toolchaintechnotes" role=","/> if necessary.</para> 52 48 </important> 49 50 <!-- Ampersands are needed to allow copy and paste --> 51 <screen><userinput>gcc -dumpspecs | sed 's@^/lib/ld-linux.so.2@/tools&@g' \ 52 > `dirname $(gcc -print-libgcc-file-name)`/specs</userinput></screen> 53 53 54 54 <para>During the build process, GCC runs a script
