[lfs-dev] /tools/$(uname -m)-pc-linux-gnu/bin/ld
Ken Moffat
zarniwhoop at ntlworld.com
Thu Feb 4 19:11:25 PST 2016
I'm just looking at revision 11000. As part of that, in Adjusting
the Toolchain in chapter 6 there is the following diff :
Index: trunk/BOOK/chapter06/adjusting.xml
===================================================================
--- a/trunk/BOOK/chapter06/adjusting.xml
+++ b/trunk/BOOK/chapter06/adjusting.xml
@@ -17,11 +17,11 @@
<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
I think this was only tested on 32-bit ? My last x86_64 build in
November continued to use /tools/x86_64-unknown-linux-gnu/bin/.
ĸen
--
This email was written using 100% recycled letters.
More information about the lfs-dev
mailing list