diff options
-rw-r--r-- | chapter06/readjusting.xml | 18 |
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> |