diff options
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/readjusting.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chapter06/readjusting.xml b/chapter06/readjusting.xml index 4466b004c..4f77514b3 100644 --- a/chapter06/readjusting.xml +++ b/chapter06/readjusting.xml @@ -21,12 +21,12 @@ directories.</para> <para>First, backup the <filename class="directory">/tools</filename> linker, and replace it with the adjusted linker we made in chapter 5. We'll also create a -link to its counterpart in <filename class="directory">/tools/$MACHTYPE/bin</filename></para> +link to its counterpart in <filename class="directory">/tools/$(gcc -dumpmachine)/bin</filename></para> <screen><userinput>mv -v /tools/bin/{ld,ld-old} -mv -v /tools/$MACHTYPE/bin/{ld,ld-old} +mv -v /tools/$(gcc -dumpmachine)/bin/{ld,ld-old} mv -v /tools/bin/{ld-new,ld} -ln -sv /tools/bin/ld /tools/$MACHTYPE/bin/ld</userinput></screen> +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. |