From 54592a117676f3e5c1a8fbba097c2027a4f5e8ee Mon Sep 17 00:00:00 2001 From: Jeremy Huntwork Date: Fri, 2 Mar 2007 23:52:06 +0000 Subject: Moved another important notice to precede the concerned command. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7955 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/readjusting.xml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'chapter06') diff --git a/chapter06/readjusting.xml b/chapter06/readjusting.xml index 91a7bc0de..178e77ad2 100644 --- a/chapter06/readjusting.xml +++ b/chapter06/readjusting.xml @@ -34,7 +34,15 @@ 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. - A perl command accomplishes this: + A perl command accomplishes this. + + + If working on a platform where the name of the dynamic linker is + something other than ld-linux.so.2, + substitute ld-linux.so.2 with the name of the platform's + dynamic linker in the following commands. Refer to if necessary. + gcc -dumpspecs | \ perl -p -e 's@/tools/lib/ld-linux.so.2@/lib/ld-linux.so.2@g;' \ @@ -44,14 +52,6 @@ perl -p -e 's@/tools/lib/ld-linux.so.2@/lib/ld-linux.so.2@g;' \ It is a good idea to visually inspect the specs file to verify the intended change was actually made. - - If working on a platform where the name of the dynamic linker is - something other than ld-linux.so.2, - substitute ld-linux.so.2 with the name of the platform's - dynamic linker in the above commands. Refer to if necessary. - - It is imperative at this point to ensure that the basic functions (compiling and linking) of the adjusted toolchain are working as expected. To do this, perform the following sanity checks: -- cgit v1.2.3-54-g00ecf