diff options
author | Jeremy Huntwork <jhuntwork@linuxfromscratch.org> | 2006-01-30 06:50:11 +0000 |
---|---|---|
committer | Jeremy Huntwork <jhuntwork@linuxfromscratch.org> | 2006-01-30 06:50:11 +0000 |
commit | 62d3362b8de4cceb37f1e6ed65323d5561723fef (patch) | |
tree | c54b462c28f2e0776a14133d4e9250578661c3e0 /chapter06 | |
parent | b87ea8726bbd62d4fde5a39a596d26f959d0ef59 (diff) |
Adjust binutils-pass1 so we don't need to hang on to its source directories.
Also use 'gcc -dumpmachine' instead of the MACHTYPE var.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7316 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
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. |