r1105 - in trunk/BOOK: . final-system final-system/alpha final-system/common final-system/mips final-system/mips64 final-system/multilib final-system/ppc final-system/sparc final-system/sparc64 final-system/sparc64-64 final-system/x86 final-system/x86_64 final-system/x86_64-64 introduction/common

jim at linuxfromscratch.org jim at linuxfromscratch.org
Sun Jan 29 23:24:21 PST 2006


Author: jim
Date: 2006-01-30 00:24:20 -0700 (Mon, 30 Jan 2006)
New Revision: 1105

Added:
   trunk/BOOK/final-system/common/adjusting.xml
   trunk/BOOK/final-system/multilib/adjusting.xml
Removed:
   trunk/BOOK/final-system/alpha/adjusting.xml
   trunk/BOOK/final-system/sparc/adjusting.xml
   trunk/BOOK/final-system/sparc64-64/adjusting.xml
   trunk/BOOK/final-system/x86/adjusting.xml
   trunk/BOOK/final-system/x86_64/adjusting.xml
Modified:
   trunk/BOOK/
   trunk/BOOK/final-system/alpha-chapter.xml
   trunk/BOOK/final-system/mips/adjusting.xml
   trunk/BOOK/final-system/mips64/adjusting.xml
   trunk/BOOK/final-system/ppc/adjusting.xml
   trunk/BOOK/final-system/sparc-chapter.xml
   trunk/BOOK/final-system/sparc64-64-chapter.xml
   trunk/BOOK/final-system/sparc64-chapter.xml
   trunk/BOOK/final-system/sparc64/adjusting.xml
   trunk/BOOK/final-system/sparcv8-chapter.xml
   trunk/BOOK/final-system/x86-chapter.xml
   trunk/BOOK/final-system/x86_64-64/adjusting.xml
   trunk/BOOK/final-system/x86_64-chapter.xml
   trunk/BOOK/introduction/common/changelog.xml
Log:
 r1127 at server:  jim | 2006-01-29 22:16:55 -0800
 Updated adjusting in final-system



Property changes on: trunk/BOOK
___________________________________________________________________
Name: svk:merge
   - 3949c430-d905-0410-97b6-f115d20341b5:/cross-lfs:1422
3b7552df-c20a-0410-b7e1-d7eaf1be8828:/cross-lfs:1106
f6929928-7304-0410-9559-ff6106abff4d:/cross-lfs:790
   + 3949c430-d905-0410-97b6-f115d20341b5:/cross-lfs:1422
3b7552df-c20a-0410-b7e1-d7eaf1be8828:/cross-lfs:1127
f6929928-7304-0410-9559-ff6106abff4d:/cross-lfs:790

Deleted: trunk/BOOK/final-system/alpha/adjusting.xml
===================================================================
--- trunk/BOOK/final-system/alpha/adjusting.xml	2006-01-30 05:49:25 UTC (rev 1104)
+++ trunk/BOOK/final-system/alpha/adjusting.xml	2006-01-30 07:24:20 UTC (rev 1105)
@@ -1,70 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
-  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
-  <!ENTITY % general-entities SYSTEM "../../general.ent">
-  %general-entities;
-]>
-
-<sect1 id="ch-system-adjusting">
-  <?dbhtml filename="adjusting.html"?>
-
-  <title>Adjusting the Toolchain</title>
-
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/adjusting.xml"
-  xpointer="xpointer(//*[@os='a'])"/>
-
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/adjusting.xml"
-  xpointer="xpointer(//*[@os='b'])"/>
-
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/adjusting.xml"
-  xpointer="xpointer(//*[@os='c'])"/>
-
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/adjusting.xml"
-  xpointer="xpointer(//*[@os='d'])"/>
-
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/adjusting.xml"
-  xpointer="xpointer(//*[@os='e'])"/>
-
-  <caution>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
-    xpointer="xpointer(//*[@os='f'])"/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
-    xpointer="xpointer(//*[@os='g'])"/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
-    xpointer="xpointer(//*[@os='h'])"/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
-    xpointer="xpointer(//*[@os='i'])"/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
-    xpointer="xpointer(//*[@os='j'])"/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
-    xpointer="xpointer(//*[@os='k'])"/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
-    xpointer="xpointer(//*[@os='l'])"/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
-    xpointer="xpointer(//*[@os='m'])"/>
-
-  </caution>
-
-</sect1>
-

Modified: trunk/BOOK/final-system/alpha-chapter.xml
===================================================================
--- trunk/BOOK/final-system/alpha-chapter.xml	2006-01-30 05:49:25 UTC (rev 1104)
+++ trunk/BOOK/final-system/alpha-chapter.xml	2006-01-30 07:24:20 UTC (rev 1105)
@@ -16,7 +16,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/temp-perl.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="alpha/linux-libc-headers.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="alpha/glibc.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="alpha/adjusting.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/adjusting.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/coreutils.xml"/>

Added: trunk/BOOK/final-system/common/adjusting.xml
===================================================================
--- trunk/BOOK/final-system/common/adjusting.xml	                        (rev 0)
+++ trunk/BOOK/final-system/common/adjusting.xml	2006-01-30 07:24:20 UTC (rev 1105)
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-system-adjusting">
+  <?dbhtml filename="adjusting.html"?>
+
+  <title>Adjusting the Toolchain</title>
+
+  <para os="a">Now we amend the GCC specs file so that it points to the new
+  dynamic linker. A <command>perl</command> command accomplishes this:</para>
+
+<screen os="c"><userinput>gcc -dumpspecs | \
+perl -p -e 's@/tools/lib/ld@/lib/ld at g;' \
+     -e 's@\*startfile_prefix_spec:\n@$_/usr/lib/ @g;' > \
+     `dirname $(gcc --print-libgcc-file-name)`/specs</userinput></screen>
+
+  <para os="d">It is a good idea to visually inspect the specs file to verify the
+  intended change was actually made.</para>
+
+  <para os="e">Note that <filename class="directory">/lib</filename> is now
+  the prefix of our dynamic linker.</para>
+
+  <caution>
+
+    <para os="f">It is imperative at this point to stop and ensure that
+    the basic functions (compiling and linking) of the adjusted toolchain
+    are working as expected. To do this, perform a sanity
+    check:</para>
+
+<screen os="g"><userinput>echo 'main(){}' > dummy.c
+cc dummy.c
+readelf -l a.out | grep ': /lib'</userinput></screen>
+
+    <para os="h">If everything is working correctly, there should be no errors,
+    and the output of the last command will be:</para>
+
+<screen os="i"><computeroutput>[Requesting program interpreter: /lib/ld-linux.so.2]</computeroutput></screen>
+
+    <para os="j">Note that <filename class="directory">/lib</filename> is now
+    the prefix of our dynamic linker.</para>
+
+    <para os="k">If the output does not appear as shown above or is not received
+    at all, then something is seriously wrong. Investigate and retrace the
+    steps to find out where the problem is and correct it. The most likely
+    reason is that something went wrong with the specs file amendment
+    above. Any issues will need to be resolved before continuing on with
+    the process.</para>
+
+    <para os="l">Once everything is working correctly, clean up the test
+    files:</para>
+
+<screen os="m"><userinput>rm dummy.c a.out</userinput></screen>
+
+  </caution>
+
+</sect1>

Modified: trunk/BOOK/final-system/mips/adjusting.xml
===================================================================
--- trunk/BOOK/final-system/mips/adjusting.xml	2006-01-30 05:49:25 UTC (rev 1104)
+++ trunk/BOOK/final-system/mips/adjusting.xml	2006-01-30 07:24:20 UTC (rev 1105)
@@ -11,55 +11,51 @@
   <title>Adjusting the Toolchain</title>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/adjusting.xml"
+  href="../common/adjusting.xml"
   xpointer="xpointer(//*[@os='a'])"/>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/adjusting.xml"
-  xpointer="xpointer(//*[@os='b'])"/>
-
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/adjusting.xml"
+  href="../common/adjusting.xml"
   xpointer="xpointer(//*[@os='c'])"/>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/adjusting.xml"
+  href="../common/adjusting.xml"
   xpointer="xpointer(//*[@os='d'])"/>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/adjusting.xml"
+  href="../common/adjusting.xml"
   xpointer="xpointer(//*[@os='e'])"/>
 
   <caution>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
+    href="../common/adjusting.xml"
     xpointer="xpointer(//*[@os='f'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
+    href="../common/adjusting.xml"
     xpointer="xpointer(//*[@os='g'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
+    href="../common/adjusting.xml"
     xpointer="xpointer(//*[@os='h'])"/>
 
 <screen os="i"><computeroutput>[Requesting program interpreter: /lib/ld.so.1]</computeroutput></screen>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
+    href="../common/adjusting.xml"
     xpointer="xpointer(//*[@os='j'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
+    href="../common/adjusting.xml"
     xpointer="xpointer(//*[@os='k'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
+    href="../common/adjusting.xml"
     xpointer="xpointer(//*[@os='l'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
+    href="../common/adjusting.xml"
     xpointer="xpointer(//*[@os='m'])"/>
 
   </caution>

Modified: trunk/BOOK/final-system/mips64/adjusting.xml
===================================================================
--- trunk/BOOK/final-system/mips64/adjusting.xml	2006-01-30 05:49:25 UTC (rev 1104)
+++ trunk/BOOK/final-system/mips64/adjusting.xml	2006-01-30 07:24:20 UTC (rev 1105)
@@ -14,12 +14,8 @@
   href="../mips/adjusting.xml"
   xpointer="xpointer(//*[@os='a'])"/>
 
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../mips/adjusting.xml"
-  xpointer="xpointer(//*[@os='b'])"/>
-
 <screen os="c"><userinput>gcc -dumpspecs | \
-perl -pi -e 's@/tools/lib/ld@/lib/ld at g;' \
+perl -p -e 's@/tools/lib/ld@/lib/ld at g;' \
      -e 's@/tools/lib32/ld@/lib32/ld at g;' \
      -e 's@/tools/lib64/ld@/lib64/ld at g;' \
      -e 's@\*startfile_prefix_spec:\n@$_/usr/lib/ @g;' > \
@@ -40,11 +36,13 @@
     href="../mips/adjusting.xml"
     xpointer="xpointer(//*[@os='f'])"/>
 
-    <para>For 32 bit ABI:</para>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../multilib/adjusting.xml"
+    xpointer="xpointer(//*[@os='m2'])"/>
 
-<screen><userinput>echo 'main(){}' > dummy.c
-cc ${BUILD32} dummy.c
-readelf -l a.out | grep ': /lib'</userinput></screen>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../multilib/adjusting.xml"
+    xpointer="xpointer(//*[@os='m3'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../mips/adjusting.xml"
@@ -66,11 +64,13 @@
 
 <screen><computeroutput>[Requesting program interpreter: /lib32/ld.so.1]</computeroutput></screen>
 
-    <para>For 64 bit ABI:</para>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../multilib/adjusting.xml"
+    xpointer="xpointer(//*[@os='m4'])"/>
 
-<screen><userinput>echo 'main(){}' > dummy.c
-cc ${BUILD64} dummy.c
-readelf -l a.out | grep ': /lib'</userinput></screen>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../multilib/adjusting.xml"
+    xpointer="xpointer(//*[@os='m5'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../mips/adjusting.xml"

Added: trunk/BOOK/final-system/multilib/adjusting.xml
===================================================================
--- trunk/BOOK/final-system/multilib/adjusting.xml	                        (rev 0)
+++ trunk/BOOK/final-system/multilib/adjusting.xml	2006-01-30 07:24:20 UTC (rev 1105)
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-system-adjusting">
+  <?dbhtml filename="adjusting.html"?>
+
+  <title>Adjusting the Toolchain</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../common/adjusting.xml"
+  xpointer="xpointer(//*[@os='a'])"/>
+
+<screen os="c"><userinput>gcc -dumpspecs | \
+perl -p -e 's@/tools/lib/ld@/lib/ld at g;' \
+     -e 's@/tools/lib64/ld@/lib64/ld at g;' \
+     -e 's@\*startfile_prefix_spec:\n@$_/usr/lib/ @g;' > \
+     `dirname $(gcc --print-libgcc-file-name)`/specs</userinput></screen>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../common/adjusting.xml"
+  xpointer="xpointer(//*[@os='d'])"/>
+
+  <para os="m1">Note that <filename class="directory">/lib</filename> or
+  <filename class="directory">/lib64</filename> is now the prefix
+  of our dynamic linker.</para>
+
+  <caution>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/adjusting.xml"
+    xpointer="xpointer(//*[@os='f'])"/>
+
+    <para os="m2">For 32 bit ABI:</para>
+
+<screen os="m3"><userinput>echo 'main(){}' > dummy.c
+cc ${BUILD32} dummy.c
+readelf -l a.out | grep ': /lib'</userinput></screen>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/adjusting.xml"
+    xpointer="xpointer(//*[@os='h'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/adjusting.xml"
+    xpointer="xpointer(//*[@os='i'])"/>
+
+    <para os="m4">For 64 bit ABI:</para>
+
+<screen os="m5"><userinput>echo 'main(){}' > dummy.c
+cc ${BUILD64} dummy.c
+readelf -l a.out | grep ': /lib'</userinput></screen>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/adjusting.xml"
+    xpointer="xpointer(//*[@os='h'])"/>
+
+<screen os="m6"><computeroutput>[Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]</computeroutput></screen>
+
+    <para os="m7">Note that <filename class="directory">/lib</filename> or
+    <filename class="directory">/lib64</filename> is now the prefix
+    of our dynamic linker.</para>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/adjusting.xml"
+    xpointer="xpointer(//*[@os='k'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/adjusting.xml"
+    xpointer="xpointer(//*[@os='l'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/adjusting.xml"
+    xpointer="xpointer(//*[@os='m'])"/>
+
+  </caution>
+
+</sect1>

Modified: trunk/BOOK/final-system/ppc/adjusting.xml
===================================================================
--- trunk/BOOK/final-system/ppc/adjusting.xml	2006-01-30 05:49:25 UTC (rev 1104)
+++ trunk/BOOK/final-system/ppc/adjusting.xml	2006-01-30 07:24:20 UTC (rev 1105)
@@ -10,55 +10,55 @@
   <title>Adjusting the Toolchain</title>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/adjusting.xml"
+  href="../common/adjusting.xml"
   xpointer="xpointer(//*[@os='a'])"/>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/adjusting.xml"
+  href="../common/adjusting.xml"
   xpointer="xpointer(//*[@os='b'])"/>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/adjusting.xml"
+  href="../common/adjusting.xml"
   xpointer="xpointer(//*[@os='c'])"/>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/adjusting.xml"
+  href="../common/adjusting.xml"
   xpointer="xpointer(//*[@os='d'])"/>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/adjusting.xml"
+  href="../common/adjusting.xml"
   xpointer="xpointer(//*[@os='e'])"/>
 
   <caution>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
+    href="../common/adjusting.xml"
     xpointer="xpointer(//*[@os='f'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
+    href="../common/adjusting.xml"
     xpointer="xpointer(//*[@os='g'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
+    href="../common/adjusting.xml"
     xpointer="xpointer(//*[@os='h'])"/>
 
 <screen os="i"><computeroutput>[Requesting program interpreter: /lib/ld.so.1]</computeroutput></screen>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
+    href="../common/adjusting.xml"
     xpointer="xpointer(//*[@os='j'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
+    href="../common/adjusting.xml"
     xpointer="xpointer(//*[@os='k'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
+    href="../common/adjusting.xml"
     xpointer="xpointer(//*[@os='l'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
+    href="../common/adjusting.xml"
     xpointer="xpointer(//*[@os='m'])"/>
 
   </caution>

Deleted: trunk/BOOK/final-system/sparc/adjusting.xml
===================================================================
--- trunk/BOOK/final-system/sparc/adjusting.xml	2006-01-30 05:49:25 UTC (rev 1104)
+++ trunk/BOOK/final-system/sparc/adjusting.xml	2006-01-30 07:24:20 UTC (rev 1105)
@@ -1,70 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
-  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
-  <!ENTITY % general-entities SYSTEM "../../general.ent">
-  %general-entities;
-]>
-
-<sect1 id="ch-system-adjusting">
-  <?dbhtml filename="adjusting.html"?>
-
-  <title>Adjusting the Toolchain</title>
-
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/adjusting.xml"
-  xpointer="xpointer(//*[@os='a'])"/>
-
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/adjusting.xml"
-  xpointer="xpointer(//*[@os='b'])"/>
-
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/adjusting.xml"
-  xpointer="xpointer(//*[@os='c'])"/>
-
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/adjusting.xml"
-  xpointer="xpointer(//*[@os='d'])"/>
-
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/adjusting.xml"
-  xpointer="xpointer(//*[@os='e'])"/>
-
-  <caution>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
-    xpointer="xpointer(//*[@os='f'])"/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
-    xpointer="xpointer(//*[@os='g'])"/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
-    xpointer="xpointer(//*[@os='h'])"/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
-    xpointer="xpointer(//*[@os='i'])"/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
-    xpointer="xpointer(//*[@os='j'])"/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
-    xpointer="xpointer(//*[@os='k'])"/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
-    xpointer="xpointer(//*[@os='l'])"/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
-    xpointer="xpointer(//*[@os='m'])"/>
-
-  </caution>
-
-</sect1>
-

Modified: trunk/BOOK/final-system/sparc-chapter.xml
===================================================================
--- trunk/BOOK/final-system/sparc-chapter.xml	2006-01-30 05:49:25 UTC (rev 1104)
+++ trunk/BOOK/final-system/sparc-chapter.xml	2006-01-30 07:24:20 UTC (rev 1105)
@@ -16,7 +16,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/temp-perl.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc/linux-libc-headers.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc/glibc.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc/adjusting.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/adjusting.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc/binutils.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/coreutils.xml"/>

Modified: trunk/BOOK/final-system/sparc64/adjusting.xml
===================================================================
--- trunk/BOOK/final-system/sparc64/adjusting.xml	2006-01-30 05:49:25 UTC (rev 1104)
+++ trunk/BOOK/final-system/sparc64/adjusting.xml	2006-01-30 07:24:20 UTC (rev 1105)
@@ -11,71 +11,73 @@
   <title>Adjusting the Toolchain</title>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../sparc/adjusting.xml"
+  href="../common/adjusting.xml"
   xpointer="xpointer(//*[@os='a'])"/>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../sparc/adjusting.xml"
-  xpointer="xpointer(//*[@os='b'])"/>
-
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86_64/adjusting.xml"
+  href="../common/adjusting.xml"
   xpointer="xpointer(//*[@os='c'])"/>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../sparc/adjusting.xml"
+  href="../common/adjusting.xml"
   xpointer="xpointer(//*[@os='d'])"/>
 
-  <para>Note that <filename class="directory">/lib</filename> or
-  <filename class="directory">/lib64</filename> is now the prefix
-  of our dynamic linker.</para>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../multilib/adjusting.xml"
+  xpointer="xpointer(//*[@os='m1'])"/>
 
   <caution>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../sparc/adjusting.xml"
+    href="../common/adjusting.xml"
     xpointer="xpointer(//*[@os='f'])"/>
 
-    <para>For 32 bit ABI:</para>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../multilib/adjusting.xml"
+    xpointer="xpointer(//*[@os='m2'])"/>
 
-<screen><userinput>echo 'main(){}' > dummy.c
-cc ${BUILD32} dummy.c
-readelf -l a.out | grep ': /lib'</userinput></screen>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../multilib/adjusting.xml"
+    xpointer="xpointer(//*[@os='m3'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../sparc/adjusting.xml"
+    href="../common/adjusting.xml"
     xpointer="xpointer(//*[@os='h'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../sparc/adjusting.xml"
+    href="../common/adjusting.xml"
     xpointer="xpointer(//*[@os='i'])"/>
 
-    <para>For 64 bit ABI:</para>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../multilib/adjusting.xml"
+    xpointer="xpointer(//*[@os='m4'])"/>
 
-<screen><userinput>echo 'main(){}' > dummy.c
-cc ${BUILD64} dummy.c
-readelf -l a.out | grep ': /lib'</userinput></screen>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../multilib/adjusting.xml"
+    xpointer="xpointer(//*[@os='m5'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../sparc/adjusting.xml"
+    href="../common/adjusting.xml"
     xpointer="xpointer(//*[@os='h'])"/>
 
-<screen><computeroutput>[Requesting program interpreter: /lib64/ld-linux-sparc-64.so.2]</computeroutput></screen>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/adjusting.xml"
+    xpointer="xpointer(//*[@os='i'])"/>
 
-    <para>Note that <filename class="directory">/lib</filename> or
-    <filename class="directory">/lib64</filename> is now the prefix
-    of our dynamic linker.</para>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../multilib/adjusting.xml"
+    xpointer="xpointer(//*[@os='m7'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../sparc/adjusting.xml"
+    href="../common/adjusting.xml"
     xpointer="xpointer(//*[@os='k'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../sparc/adjusting.xml"
+    href="../common/adjusting.xml"
     xpointer="xpointer(//*[@os='l'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../sparc/adjusting.xml"
+    href="../common/adjusting.xml"
     xpointer="xpointer(//*[@os='m'])"/>
 
   </caution>

Deleted: trunk/BOOK/final-system/sparc64-64/adjusting.xml
===================================================================
--- trunk/BOOK/final-system/sparc64-64/adjusting.xml	2006-01-30 05:49:25 UTC (rev 1104)
+++ trunk/BOOK/final-system/sparc64-64/adjusting.xml	2006-01-30 07:24:20 UTC (rev 1105)
@@ -1,69 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
-  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
-  <!ENTITY % general-entities SYSTEM "../../general.ent">
-  %general-entities;
-]>
-
-<sect1 id="ch-system-adjusting">
-  <?dbhtml filename="adjusting.html"?>
-
-  <title>Adjusting the Toolchain</title>
-
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../sparc/adjusting.xml"
-  xpointer="xpointer(//*[@os='a'])"/>
-
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../sparc/adjusting.xml"
-  xpointer="xpointer(//*[@os='b'])"/>
-
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86_64-64/adjusting.xml"
-  xpointer="xpointer(//*[@os='c'])"/>
-
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../sparc/adjusting.xml"
-  xpointer="xpointer(//*[@os='d'])"/>
-
-  <para>Note that <filename class="directory">/lib</filename> or
-  <filename class="directory">/lib32</filename> is now the prefix
-  of our dynamic linker.</para>
-
-  <caution>
-
-    <para>It is imperative at this point to stop and ensure that
-    the basic functions (compiling and linking) of the adjusted toolchain
-    are working as expected. Since we are doing a 64 bit only build, we
-    will only test the 64 bit ABI. To do this, perform a sanity
-    check:</para>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../sparc/adjusting.xml"
-    xpointer="xpointer(//*[@os='g'])"/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../sparc/adjusting.xml"
-    xpointer="xpointer(//*[@os='h'])"/>
-
-<screen><computeroutput>[Requesting program interpreter: /lib/ld-linux-sparc-64.so.2]</computeroutput></screen>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../sparc/adjusting.xml"
-    xpointer="xpointer(//*[@os='j'])"/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../sparc/adjusting.xml"
-    xpointer="xpointer(//*[@os='k'])"/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../sparc/adjusting.xml"
-    xpointer="xpointer(//*[@os='l'])"/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../sparc/adjusting.xml"
-    xpointer="xpointer(//*[@os='m'])"/>
-
-  </caution>
-
-</sect1>

Modified: trunk/BOOK/final-system/sparc64-64-chapter.xml
===================================================================
--- trunk/BOOK/final-system/sparc64-64-chapter.xml	2006-01-30 05:49:25 UTC (rev 1104)
+++ trunk/BOOK/final-system/sparc64-64-chapter.xml	2006-01-30 07:24:20 UTC (rev 1105)
@@ -16,7 +16,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/temp-perl.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64-64/linux-libc-headers.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64-64/glibc.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64-64/adjusting.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="adjusting/adjusting.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64-64/binutils.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/gcc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/coreutils.xml"/>

Modified: trunk/BOOK/final-system/sparc64-chapter.xml
===================================================================
--- trunk/BOOK/final-system/sparc64-chapter.xml	2006-01-30 05:49:25 UTC (rev 1104)
+++ trunk/BOOK/final-system/sparc64-chapter.xml	2006-01-30 07:24:20 UTC (rev 1105)
@@ -17,7 +17,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64/linux-libc-headers.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64/glibc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64/glibc-64bit.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64/adjusting.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/adjusting.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64/binutils.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gcc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/coreutils.xml"/>

Modified: trunk/BOOK/final-system/sparcv8-chapter.xml
===================================================================
--- trunk/BOOK/final-system/sparcv8-chapter.xml	2006-01-30 05:49:25 UTC (rev 1104)
+++ trunk/BOOK/final-system/sparcv8-chapter.xml	2006-01-30 07:24:20 UTC (rev 1105)
@@ -16,7 +16,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/temp-perl.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc/linux-libc-headers.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparcv8/glibc.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc/adjusting.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/adjusting.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparcv8/binutils.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/coreutils.xml"/>

Deleted: trunk/BOOK/final-system/x86/adjusting.xml
===================================================================
--- trunk/BOOK/final-system/x86/adjusting.xml	2006-01-30 05:49:25 UTC (rev 1104)
+++ trunk/BOOK/final-system/x86/adjusting.xml	2006-01-30 07:24:20 UTC (rev 1105)
@@ -1,66 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
-  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
-  <!ENTITY % general-entities SYSTEM "../../general.ent">
-  %general-entities;
-]>
-
-<sect1 id="ch-system-adjusting">
-  <?dbhtml filename="adjusting.html"?>
-
-  <title>Adjusting the Toolchain</title>
-
-  <para os="a">Now we amend the GCC specs file so that it points to the new
-  dynamic linker. A <command>perl</command> command accomplishes this:</para>
-
-  <warning os="b">
-    <para><emphasis>Do not</emphasis> run the following command more than
-    once, it will adversely affect the outcome of software built after
-    this step.</para>
-  </warning>
-
-<screen os="c"><userinput>gcc -dumpspecs | \
-perl -pi -e 's@/tools/lib/ld@/lib/ld at g;' \
-     -e 's@\*startfile_prefix_spec:\n@$_/usr/lib/ @g;' > \
-     `dirname $(gcc --print-libgcc-file-name)`/specs</userinput></screen>
-
-  <para os="d">It is a good idea to visually inspect the specs file to verify the
-  intended change was actually made.</para>
-
-  <para os="e">Note that <filename class="directory">/lib</filename> is now
-  the prefix of our dynamic linker.</para>
-
-  <caution>
-
-    <para os="f">It is imperative at this point to stop and ensure that
-    the basic functions (compiling and linking) of the adjusted toolchain
-    are working as expected. To do this, perform a sanity
-    check:</para>
-
-<screen os="g"><userinput>echo 'main(){}' > dummy.c
-cc dummy.c
-readelf -l a.out | grep ': /lib'</userinput></screen>
-
-    <para os="h">If everything is working correctly, there should be no errors,
-    and the output of the last command will be:</para>
-
-<screen os="i"><computeroutput>[Requesting program interpreter: /lib/ld-linux.so.2]</computeroutput></screen>
-
-    <para os="j">Note that <filename class="directory">/lib</filename> is now
-    the prefix of our dynamic linker.</para>
-
-    <para os="k">If the output does not appear as shown above or is not received
-    at all, then something is seriously wrong. Investigate and retrace the
-    steps to find out where the problem is and correct it. The most likely
-    reason is that something went wrong with the specs file amendment
-    above. Any issues will need to be resolved before continuing on with
-    the process.</para>
-
-    <para os="l">Once everything is working correctly, clean up the test
-    files:</para>
-
-<screen os="m"><userinput>rm dummy.c a.out</userinput></screen>
-
-  </caution>
-
-</sect1>

Modified: trunk/BOOK/final-system/x86-chapter.xml
===================================================================
--- trunk/BOOK/final-system/x86-chapter.xml	2006-01-30 05:49:25 UTC (rev 1104)
+++ trunk/BOOK/final-system/x86-chapter.xml	2006-01-30 07:24:20 UTC (rev 1105)
@@ -16,7 +16,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/temp-perl.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/linux-libc-headers.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/glibc.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/adjusting.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/adjusting.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/coreutils.xml"/>

Deleted: trunk/BOOK/final-system/x86_64/adjusting.xml
===================================================================
--- trunk/BOOK/final-system/x86_64/adjusting.xml	2006-01-30 05:49:25 UTC (rev 1104)
+++ trunk/BOOK/final-system/x86_64/adjusting.xml	2006-01-30 07:24:20 UTC (rev 1105)
@@ -1,85 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
-  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
-  <!ENTITY % general-entities SYSTEM "../../general.ent">
-  %general-entities;
-]>
-
-<sect1 id="ch-system-adjusting">
-  <?dbhtml filename="adjusting.html"?>
-
-  <title>Adjusting the Toolchain</title>
-
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/adjusting.xml"
-  xpointer="xpointer(//*[@os='a'])"/>
-
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/adjusting.xml"
-  xpointer="xpointer(//*[@os='b'])"/>
-
-<screen os="c"><userinput>gcc -dumpspecs | \
-perl -pi -e 's@/tools/lib/ld@/lib/ld at g;' \
-     -e 's@/tools/lib64/ld@/lib64/ld at g;' \
-     -e 's@\*startfile_prefix_spec:\n@$_/usr/lib/ @g;' > \
-     `dirname $(gcc --print-libgcc-file-name)`/specs</userinput></screen>
-
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/adjusting.xml"
-  xpointer="xpointer(//*[@os='d'])"/>
-
-  <para>Note that <filename class="directory">/lib</filename> or
-  <filename class="directory">/lib64</filename> is now the prefix
-  of our dynamic linker.</para>
-
-  <caution>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
-    xpointer="xpointer(//*[@os='f'])"/>
-
-    <para>For 32 bit ABI:</para>
-
-<screen><userinput>echo 'main(){}' > dummy.c
-cc ${BUILD32} dummy.c
-readelf -l a.out | grep ': /lib'</userinput></screen>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
-    xpointer="xpointer(//*[@os='h'])"/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
-    xpointer="xpointer(//*[@os='i'])"/>
-
-    <para>For 64 bit ABI:</para>
-
-<screen><userinput>echo 'main(){}' > dummy.c
-cc ${BUILD64} dummy.c
-readelf -l a.out | grep ': /lib'</userinput></screen>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
-    xpointer="xpointer(//*[@os='h'])"/>
-
-<screen><computeroutput>[Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]</computeroutput></screen>
-
-    <para>Note that <filename class="directory">/lib</filename> or
-    <filename class="directory">/lib64</filename> is now the prefix
-    of our dynamic linker.</para>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
-    xpointer="xpointer(//*[@os='k'])"/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
-    xpointer="xpointer(//*[@os='l'])"/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
-    xpointer="xpointer(//*[@os='m'])"/>
-
-  </caution>
-
-</sect1>

Modified: trunk/BOOK/final-system/x86_64-64/adjusting.xml
===================================================================
--- trunk/BOOK/final-system/x86_64-64/adjusting.xml	2006-01-30 05:49:25 UTC (rev 1104)
+++ trunk/BOOK/final-system/x86_64-64/adjusting.xml	2006-01-30 07:24:20 UTC (rev 1105)
@@ -11,59 +11,51 @@
   <title>Adjusting the Toolchain</title>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/adjusting.xml"
+  href="../common/adjusting.xml"
   xpointer="xpointer(//*[@os='a'])"/>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/adjusting.xml"
-  xpointer="xpointer(//*[@os='b'])"/>
+  href="../common/adjusting.xml"
+  xpointer="xpointer(//*[@os='c'])"/>
 
-<screen os="c"><userinput>gcc -dumpspecs | \
-perl -pi -e 's@/tools/lib/ld@/lib/ld at g;' \
-     -e 's@/tools/lib32/ld@/lib32/ld at g;' \
-     -e 's@\*startfile_prefix_spec:\n@$_/usr/lib/ @g;' > \
-     `dirname $(gcc --print-libgcc-file-name)`/specs</userinput></screen>
-
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/adjusting.xml"
+  href="../common/adjusting.xml"
   xpointer="xpointer(//*[@os='d'])"/>
 
-  <para>Note that <filename class="directory">/lib</filename> or
-  <filename class="directory">/lib32</filename> is now the prefix
-  of our dynamic linker.</para>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../common/adjusting.xml"
+  xpointer="xpointer(//*[@os='e'])"/>
 
   <caution>
 
-    <para>It is imperative at this point to stop and ensure that
-    the basic functions (compiling and linking) of the adjusted toolchain
-    are working as expected. Since we are doing a 64 bit only build, we
-    will only test the 64 bit ABI. To do this, perform a sanity
-    check:</para>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/adjusting.xml"
+    xpointer="xpointer(//*[@os='f'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
+    href="../common/adjusting.xml"
     xpointer="xpointer(//*[@os='g'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
+    href="../common/adjusting.xml"
     xpointer="xpointer(//*[@os='h'])"/>
 
 <screen><computeroutput>[Requesting program interpreter: /lib/ld-linux-x86-64.so.2]</computeroutput></screen>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
+    href="../common/adjusting.xml"
     xpointer="xpointer(//*[@os='j'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
+    href="../common/adjusting.xml"
     xpointer="xpointer(//*[@os='k'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
+    href="../common/adjusting.xml"
     xpointer="xpointer(//*[@os='l'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../x86/adjusting.xml"
+    href="../common/adjusting.xml"
     xpointer="xpointer(//*[@os='m'])"/>
 
   </caution>

Modified: trunk/BOOK/final-system/x86_64-chapter.xml
===================================================================
--- trunk/BOOK/final-system/x86_64-chapter.xml	2006-01-30 05:49:25 UTC (rev 1104)
+++ trunk/BOOK/final-system/x86_64-chapter.xml	2006-01-30 07:24:20 UTC (rev 1105)
@@ -17,7 +17,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86_64/linux-libc-headers.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/glibc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/glibc-64bit.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86_64/adjusting.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/adjusting.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/binutils.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gcc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86_64/coreutils.xml"/>

Modified: trunk/BOOK/introduction/common/changelog.xml
===================================================================
--- trunk/BOOK/introduction/common/changelog.xml	2006-01-30 05:49:25 UTC (rev 1104)
+++ trunk/BOOK/introduction/common/changelog.xml	2006-01-30 07:24:20 UTC (rev 1105)
@@ -37,6 +37,15 @@
 -->
 
     <listitem>
+      <para>January 29, 2006</para> 
+      <itemizedlist>
+        <listitem>
+          <para>[jim] - Updated Toolchain adjustment in final-system. Thank you Dan Nicholson.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>January 24, 2006</para> 
       <itemizedlist>
         <listitem>




More information about the cross-lfs mailing list