diff options
Diffstat (limited to 'chapter06/adjusting.xml')
-rw-r--r-- | chapter06/adjusting.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chapter06/adjusting.xml b/chapter06/adjusting.xml index 07c155cc2..0ea4f92ef 100644 --- a/chapter06/adjusting.xml +++ b/chapter06/adjusting.xml @@ -16,13 +16,13 @@ <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/$(gcc - -dumpmachine)/bin</filename>:</para> + a link to its counterpart in + <filename class="directory">/tools/$(uname -m)-pc-linux-gnu/bin</filename>:</para> <screen><userinput>mv -v /tools/bin/{ld,ld-old} -mv -v /tools/$(gcc -dumpmachine)/bin/{ld,ld-old} +mv -v /tools/$(uname -m)-pc-linux-gnu/bin/{ld,ld-old} mv -v /tools/bin/{ld-new,ld} -ln -sv /tools/bin/ld /tools/$(gcc -dumpmachine)/bin/ld</userinput></screen> +ln -sv /tools/bin/ld /tools/$(uname -m)-pc-linux-gnu/bin/ld</userinput></screen> <para>Next, amend the GCC specs file so that it points to the new dynamic linker. Simply deleting all instances of <quote>/tools</quote> should |