From 62d3362b8de4cceb37f1e6ed65323d5561723fef Mon Sep 17 00:00:00 2001 From: Jeremy Huntwork Date: Mon, 30 Jan 2006 06:50:11 +0000 Subject: 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 --- chapter06/readjusting.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'chapter06') 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. First, backup the /tools linker, and replace it with the adjusted linker we made in chapter 5. We'll also create a -link to its counterpart in /tools/$MACHTYPE/bin +link to its counterpart in /tools/$(gcc -dumpmachine)/bin 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 +ln -sv /tools/bin/ld /tools/$(gcc -dumpmachine)/bin/ld 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. -- cgit v1.2.3-54-g00ecf