[lfs-dev] /tools/$(uname -m)-pc-linux-gnu/bin/ld
Bruce Dubbs
bruce.dubbs at gmail.com
Thu Feb 4 21:14:27 PST 2016
Ken Moffat wrote:
> 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/.
binutils-2.26 now uses x86_64-pc-linux-gnu. It is a change in the latest
release.
-- Bruce
More information about the lfs-dev
mailing list