aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorJeremy Huntwork <jhuntwork@linuxfromscratch.org>2007-03-02 23:52:06 +0000
committerJeremy Huntwork <jhuntwork@linuxfromscratch.org>2007-03-02 23:52:06 +0000
commit54592a117676f3e5c1a8fbba097c2027a4f5e8ee (patch)
treeccd518f99c7f00699d6faad0ec9ca7cba3fa66f5 /chapter06
parent09ec1f4110fef5332a6b7f8b555d311462d15f45 (diff)
Moved another important notice to precede the concerned command.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7955 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/readjusting.xml18
1 files changed, 9 insertions, 9 deletions
diff --git a/chapter06/readjusting.xml b/chapter06/readjusting.xml
index 91a7bc0de..178e77ad2 100644
--- a/chapter06/readjusting.xml
+++ b/chapter06/readjusting.xml
@@ -34,7 +34,15 @@ ln -sv /tools/bin/ld /tools/$(gcc -dumpmachine)/bin/ld</userinput></screen>
<para>Next, amend the GCC specs file so that it points to the new
dynamic linker, and so that GCC knows where to find its start files.
- A <command>perl</command> command accomplishes this:</para>
+ A <command>perl</command> command accomplishes this.</para>
+
+ <important>
+ <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>,
+ substitute <quote>ld-linux.so.2</quote> with the name of the platform's
+ dynamic linker in the following commands. Refer to <xref
+ linkend="ch-tools-toolchaintechnotes" role=","/> if necessary.</para>
+ </important>
<screen><userinput>gcc -dumpspecs | \
perl -p -e 's@/tools/lib/ld-linux.so.2@/lib/ld-linux.so.2@g;' \
@@ -44,14 +52,6 @@ perl -p -e 's@/tools/lib/ld-linux.so.2@/lib/ld-linux.so.2@g;' \
<para>It is a good idea to visually inspect the specs file to verify the
intended change was actually made.</para>
- <important>
- <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>,
- substitute <quote>ld-linux.so.2</quote> with the name of the platform's
- dynamic linker in the above commands. Refer to <xref
- linkend="ch-tools-toolchaintechnotes" role=","/> if necessary.</para>
- </important>
-
<para>It is imperative at this point to ensure that the basic
functions (compiling and linking) of the adjusted toolchain are working
as expected. To do this, perform the following sanity checks:</para>