aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/readjusting.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/readjusting.xml')
-rw-r--r--chapter06/readjusting.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/chapter06/readjusting.xml b/chapter06/readjusting.xml
index 8bda83151..695a6d684 100644
--- a/chapter06/readjusting.xml
+++ b/chapter06/readjusting.xml
@@ -33,9 +33,10 @@ mv -v /tools/bin/{ld-new,ld}
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 the correct headers
- and Glibc start files. A <command>sed</command> command accomplishes
- this:</para>
+ dynamic linker. Simply deleting all instances of <quote>/tools</quote> should
+ leave us with the correct path to the dynamic linker. Also adjust the specs file
+ so that GCC knows where to find the correct headers and Glibc start files.
+ A <command>sed</command> command accomplishes this:</para>
<screen><userinput>gcc -dumpspecs | sed -e 's@/tools@@g' \
-e '/\*startfile_prefix_spec:/{n;s@.*@/usr/lib/ @}' \