r796 - in trunk/BOOK: . cross-tools cross-tools/sparcv8 final-system final-system/sparc final-system/sparcv8 materials materials/common materials/sparcv8 stylesheets temp-system temp-system/sparcv8

jim at linuxfromscratch.org jim at linuxfromscratch.org
Thu Dec 1 20:40:54 PST 2005


Author: jim
Date: 2005-12-01 21:40:51 -0700 (Thu, 01 Dec 2005)
New Revision: 796

Added:
   trunk/BOOK/cross-tools/sparcv8-chapter.xml
   trunk/BOOK/cross-tools/sparcv8/
   trunk/BOOK/cross-tools/sparcv8/binutils.xml
   trunk/BOOK/cross-tools/sparcv8/glibc.xml
   trunk/BOOK/final-system/sparcv8-chapter.xml
   trunk/BOOK/final-system/sparcv8/
   trunk/BOOK/final-system/sparcv8/binutils.xml
   trunk/BOOK/final-system/sparcv8/glibc.xml
   trunk/BOOK/materials/common/packages2.xml
   trunk/BOOK/materials/common/patches2.xml
   trunk/BOOK/materials/sparcv8-chapter.xml
   trunk/BOOK/materials/sparcv8/
   trunk/BOOK/materials/sparcv8/patches.xml
   trunk/BOOK/sparcv8-index.xml
   trunk/BOOK/temp-system/sparcv8-chapter.xml
   trunk/BOOK/temp-system/sparcv8/
   trunk/BOOK/temp-system/sparcv8/binutils.xml
Modified:
   trunk/BOOK/
   trunk/BOOK/Makefile
   trunk/BOOK/final-system/sparc/glibc.xml
   trunk/BOOK/materials/common/packages.xml
   trunk/BOOK/materials/common/patches.xml
   trunk/BOOK/packages.ent
   trunk/BOOK/patches.ent
   trunk/BOOK/stylesheets/top-index.xsl
Log:
 r871 at server:  jim | 2005-12-01 20:40:18 -0800
 Adding sparcv8 support



Property changes on: trunk/BOOK
___________________________________________________________________
Name: svk:merge
   - 3949c430-d905-0410-97b6-f115d20341b5:/cross-lfs:866
f6929928-7304-0410-9559-ff6106abff4d:/cross-lfs:790
   + 3949c430-d905-0410-97b6-f115d20341b5:/cross-lfs:871
f6929928-7304-0410-9559-ff6106abff4d:/cross-lfs:790

Modified: trunk/BOOK/Makefile
===================================================================
--- trunk/BOOK/Makefile	2005-12-02 00:02:58 UTC (rev 795)
+++ trunk/BOOK/Makefile	2005-12-02 04:40:51 UTC (rev 796)
@@ -3,7 +3,7 @@
 DLLISTDIR=~/cross-lfs-dllist
 CHUNK_QUIET=1
 XSLROOTDIR=/usr/share/xml/docbook/xsl-stylesheets-current
-ARCH=x86 x86_64 x86_64-64 sparc sparc64 sparc64-64 mips mips64 mips64-64 ppc alpha
+ARCH=x86 x86_64 x86_64-64 sparc sparcv8 sparc64 sparc64-64 mips mips64 mips64-64 ppc alpha
 
 # HTML Rendering Chunked
 define HTML_RENDER

Added: trunk/BOOK/cross-tools/sparcv8/binutils.xml
===================================================================
--- trunk/BOOK/cross-tools/sparcv8/binutils.xml	2005-12-02 00:02:58 UTC (rev 795)
+++ trunk/BOOK/cross-tools/sparcv8/binutils.xml	2005-12-02 04:40:51 UTC (rev 796)
@@ -0,0 +1,99 @@
+<?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-cross-tools-binutils" role="wrap">
+  <?dbhtml filename="binutils.html"?>
+
+  <title>Cross Binutils-&binutils-version;</title>
+
+  <indexterm zone="ch-cross-tools-binutils">
+    <primary sortas="a-Binutils">Binutils</primary>
+    <secondary>cross tools</secondary>
+  </indexterm>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../../final-system/common/binutils.xml"
+  xpointer="xpointer(//*[@role='package'])"/>
+
+  <sect2 role="installation">
+    <title>Installation of Cross Binutils</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../sparc/binutils.xml"
+    xpointer="xpointer(//*[@os='ba'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../sparc/binutils.xml"
+    xpointer="xpointer(//*[@os='bb'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/sparc/binutils.xml"
+    xpointer="xpointer(//*[@os='s3'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/sparc/binutils.xml"
+    xpointer="xpointer(//*[@os='s4'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/common/binutils.xml"
+    xpointer="xpointer(//*[@os='g'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/common/binutils.xml"
+    xpointer="xpointer(//*[@os='h'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/common/binutils.xml"
+    xpointer="xpointer(//*[@os='i'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='bc'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='bd'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='be'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='bf'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='bg'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='bh'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='bi'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='bj'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='bk'])"/>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title/>
+
+    <para>Details on this package are located in <xref
+    linkend="contents-binutils" role="."/></para>
+
+  </sect2>
+
+</sect1>

Added: trunk/BOOK/cross-tools/sparcv8/glibc.xml
===================================================================
--- trunk/BOOK/cross-tools/sparcv8/glibc.xml	2005-12-02 00:02:58 UTC (rev 795)
+++ trunk/BOOK/cross-tools/sparcv8/glibc.xml	2005-12-02 04:40:51 UTC (rev 796)
@@ -0,0 +1,159 @@
+<?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-cross-tools-glibc" role="wrap">
+  <?dbhtml filename="glibc.html"?>
+
+  <title>Glibc-&glibc-linuxthreads-version;</title>
+
+  <indexterm zone="ch-cross-tools-glibc">
+    <primary sortas="a-Glibc">Glibc</primary>
+    <secondary>cross tools</secondary>
+  </indexterm>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../../final-system/common/glibc.xml"
+  xpointer="xpointer(//*[@role='package'])"/>
+
+  <sect2 role="installation">
+    <title>Installation of Glibc</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='da'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/sparcv8/glibc.xml"
+    xpointer="xpointer(//*[@os='l1'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/sparcv8/glibc.xml"
+    xpointer="xpointer(//*[@os='l2'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/sparcv8/glibc.xml"
+    xpointer="xpointer(//*[@os='l3'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/sparcv8/glibc.xml"
+    xpointer="xpointer(//*[@os='l4'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='db'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='dc'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/sparcv8/glibc.xml"
+    xpointer="xpointer(//*[@os='l5'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/sparcv8/glibc.xml"
+    xpointer="xpointer(//*[@os='l6'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='c'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='d'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='e'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='f'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/common/glibc.xml"
+    xpointer="xpointer(//*[@os='g'])"/>
+
+<screen os="df"><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc" \
+    AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \
+    ../glibc-&glibc-linuxthreads-version;/configure --prefix=/tools \
+    --host=${LFS_TARGET} --build=${LFS_HOST} \
+    --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
+    --with-binutils=/cross-tools/bin --with-headers=/tools/include</userinput></screen>
+
+    <variablelist os="dg">
+      <title>The meaning of the new configure options:</title>
+
+       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+       href="../common/glibc.xml"
+       xpointer="xpointer(//*[@os='dg1'])"/>
+
+       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+       href="../common/glibc.xml"
+       xpointer="xpointer(//*[@os='dg2'])"/>
+
+       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+       href="../common/glibc.xml"
+       xpointer="xpointer(//*[@os='dg3'])"/>
+
+       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+       href="../common/glibc.xml"
+       xpointer="xpointer(//*[@os='dg4'])"/>
+
+       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+       href="../common/glibc.xml"
+       xpointer="xpointer(//*[@os='dg5'])"/>
+
+       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+       href="../common/glibc.xml"
+       xpointer="xpointer(//*[@os='dg6'])"/>
+
+       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+       href="../common/glibc.xml"
+       xpointer="xpointer(//*[@os='dg9'])"/>
+
+   </variablelist>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='dh'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='di'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='dj'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='dk'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='dl'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='dm'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='dn'])"/>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title/>
+
+    <para>Details on this package are located in <xref
+    linkend="contents-glibc" role="."/></para>
+
+  </sect2>
+
+</sect1>

Added: trunk/BOOK/cross-tools/sparcv8-chapter.xml
===================================================================
--- trunk/BOOK/cross-tools/sparcv8-chapter.xml	2005-12-02 00:02:58 UTC (rev 795)
+++ trunk/BOOK/cross-tools/sparcv8-chapter.xml	2005-12-02 04:40:51 UTC (rev 796)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE chapter 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;
+]>
+
+<chapter id="chapter-cross-tools" xreflabel="Constructing Cross-Compile Tools">
+  <?dbhtml dir="cross-tools"?>
+  <?dbhtml filename="chapter.html"?>
+
+  <title>Constructing Cross-Compile Tools</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/cflags.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/variables.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/binutils.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc/gcc-static.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/gcc-final.xml"/>
+
+</chapter>

Modified: trunk/BOOK/final-system/sparc/glibc.xml
===================================================================
--- trunk/BOOK/final-system/sparc/glibc.xml	2005-12-02 00:02:58 UTC (rev 795)
+++ trunk/BOOK/final-system/sparc/glibc.xml	2005-12-02 04:40:51 UTC (rev 796)
@@ -37,7 +37,7 @@
     href="../common/glibc.xml"
     xpointer="xpointer(//*[@os='d'])"/>
 
-   <para os="s1">This patch will add NPTL support to Sparc, this will allow us to use NPTL:</para>
+   <para os="s1">This patch will add TLS(Thread Local Storage) support to Sparc:</para>
 
 <screen os="s2"><userinput>patch -Np1 -i ../&glibc-sparc_tls-patch;</userinput></screen>
 

Added: trunk/BOOK/final-system/sparcv8/binutils.xml
===================================================================
--- trunk/BOOK/final-system/sparcv8/binutils.xml	2005-12-02 00:02:58 UTC (rev 795)
+++ trunk/BOOK/final-system/sparcv8/binutils.xml	2005-12-02 04:40:51 UTC (rev 796)
@@ -0,0 +1,118 @@
+<?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-binutils" role="wrap">
+  <?dbhtml filename="binutils.html"?>
+
+  <title>Binutils-&binutils-version;</title>
+
+  <indexterm zone="ch-system-binutils">
+    <primary sortas="a-Binutils">Binutils</primary>
+  </indexterm>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../common/binutils.xml"
+  xpointer="xpointer(//*[@role='package'])"/>
+
+  <sect2 role="installation">
+    <title>Installation of Binutils</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='b'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='c'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='d'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='e'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='f'])"/>
+
+    <para os="s3">This patch will fix issues with binutils Sparc aout support:</para>
+
+<screen os="s4"><userinput>patch -Np1 -i ../&binutils-sparc_aout-patch;</userinput></screen>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='g'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='h'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='i'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='ca'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='j'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='k'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='l'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='m'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='n'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='o'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='p'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='q'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='r'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='s'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='t'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/binutils.xml"
+    xpointer="xpointer(//*[@os='u'])"/>
+
+  </sect2>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../common/binutils.xml"
+  xpointer="xpointer(id('contents-binutils'))"/>
+
+</sect1>

Added: trunk/BOOK/final-system/sparcv8/glibc.xml
===================================================================
--- trunk/BOOK/final-system/sparcv8/glibc.xml	2005-12-02 00:02:58 UTC (rev 795)
+++ trunk/BOOK/final-system/sparcv8/glibc.xml	2005-12-02 04:40:51 UTC (rev 796)
@@ -0,0 +1,142 @@
+<?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-glibc" role="wrap">
+  <title>Glibc-&glibc-linuxthreads-version;</title>
+
+  <?dbhtml filename="glibc.html"?>
+
+  <indexterm zone="ch-system-glibc">
+    <primary sortas="a-Glibc">Glibc</primary>
+  </indexterm>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../common/glibc.xml"
+  xpointer="xpointer(//*[@role='package'])"/>
+
+  <sect2 role="installation">
+    <title>Installation of Glibc</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='z'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='b'])"/>
+
+    <para os="l1">This architecture does not currently support NPTL, so we will
+    have to include Glibc Linuxthreads as a threading library. Building
+    for a Linuxthreads based glibc you will need to unpack the
+    <filename>glibc-linuxthreads-&glibc-linuxthreads-version;</filename> tarball from
+    within the <filename class="directory">glibc-&glibc-linuxthreads-version;</filename>
+    directory.</para>
+
+<screen os="l2"><userinput>tar -xjvf /sources/glibc-linuxthreads-&glibc-linuxthreads-version;.tar.bz2</userinput></screen>
+
+    <para os="l3">If you require libidn support, you can add it
+    by unpacking <filename>glibc-libidn-&glibc-linuxthreads-version;</filename>
+    tarball from within the <filename class="directory">glibc-&glibc-linuxthreads-version;</filename>
+    directory. If you used libidn during your cross-tools build, you will need to add it
+    here also.</para>
+
+<screen os="l4"><userinput>tar -xjvf /sources/glibc-libidn-&glibc-linuxthreads-version;.tar.bz2</userinput></screen>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='b'])"/>
+
+<screen os="d"><userinput>patch -Np1 -i ../&glibc-linuxthreads-localedef_segfault-patch;</userinput></screen>
+
+    <para os="l5">NPTL is not supported on Sparc v8 and below, so we need to remove the NPTL from our build.
+    We do this by removing the NPTL directories:</para>
+
+<screen os="l6"><userinput>rm -rf nptl*</userinput></screen>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='e'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='f'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='g'])"/>
+
+<screen os="h"><userinput>../glibc-&glibc-linuxthreads-version;/configure --prefix=/usr \
+    --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
+    --libexecdir=/usr/lib/glibc</userinput></screen>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='i'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='j'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='k'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='l'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='m'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../multilib/glibc-64bit.xml"
+    xpointer="xpointer(//*[@os='n'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../multilib/glibc-64bit.xml"
+    xpointer="xpointer(//*[@os='o'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../multilib/glibc-64bit.xml"
+    xpointer="xpointer(//*[@os='p'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='q'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='r'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='s'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/glibc.xml"
+    xpointer="xpointer(//*[@os='t'])"/>
+
+  </sect2>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../common/glibc.xml"
+  xpointer="xpointer(id('i18n-glibc'))"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../common/glibc.xml"
+  xpointer="xpointer(id('conf-glibc'))"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../common/glibc.xml"
+  xpointer="xpointer(id('conf-ld'))"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../common/glibc.xml"
+  xpointer="xpointer(id('contents-glibc'))"/>
+
+</sect1>

Added: trunk/BOOK/final-system/sparcv8-chapter.xml
===================================================================
--- trunk/BOOK/final-system/sparcv8-chapter.xml	2005-12-02 00:02:58 UTC (rev 795)
+++ trunk/BOOK/final-system/sparcv8-chapter.xml	2005-12-02 04:40:51 UTC (rev 796)
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE chapter 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;
+]>
+
+<chapter id="chapter-building-system" xreflabel="Installing Basic System Software">
+  <?dbhtml dir="final-system"?>
+  <?dbhtml filename="chapter.html"?>
+
+  <title>Installing Basic System Software</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.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="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"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/zlib.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/iana-etc.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/findutils.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gawk.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/ncurses.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/readline.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/vim.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/m4.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/bison.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/less.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/groff.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/sed.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/flex.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gettext.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/inetutils.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/perl.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/iproute2.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/texinfo.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/autoconf.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/automake.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/bash.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/file.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/libtool.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/bzip2.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/diffutils.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc/kbd.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/e2fsprogs.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/grep.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gzip.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/man.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/man-pages.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/make.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/module-init-tools.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/patch.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/procps.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/psmisc.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/shadow.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/sysklogd.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc/sysvinit.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/tar.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/util-linux.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/udev.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/mktemp.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/hotplug.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc/elftoaout.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc/silo.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/aboutdebug.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/stripping.xml"/>
+
+</chapter>

Modified: trunk/BOOK/materials/common/packages.xml
===================================================================
--- trunk/BOOK/materials/common/packages.xml	2005-12-02 00:02:58 UTC (rev 795)
+++ trunk/BOOK/materials/common/packages.xml	2005-12-02 04:40:51 UTC (rev 796)
@@ -10,95 +10,95 @@
 
   <title>All Packages</title>
 
-  <para>Download or otherwise obtain the following packages:</para>
+  <para os="a">Download or otherwise obtain the following packages:</para>
 
   <variablelist role="materials">
 
-    <varlistentry>
+    <varlistentry os="b">
       <term>Autoconf (&autoconf-version;) - &autoconf-size;:</term>
       <listitem>
         <para><ulink url="&autoconf-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="c">
       <term>Automake (&automake-version;) - &automake-size;:</term>
       <listitem>
         <para><ulink url="&automake-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="d">
       <term>Bash (&bash-version;) - &bash-size;:</term>
       <listitem>
         <para><ulink url="&bash-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="e">
       <term>Bash Documentation (&bash-doc-version;) - &bash-doc-size;:</term>
       <listitem>
         <para><ulink url="&bash-doc-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="f">
       <term>Binutils (&binutils-version;) - &binutils-size;:</term>
       <listitem>
         <para><ulink url="&binutils-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="g">
       <term>Bison (&bison-version;) - &bison-size;:</term>
       <listitem>
         <para><ulink url="&bison-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="h">
       <term>Bzip2 (&bzip2-version;) - &bzip2-size;:</term>
       <listitem>
         <para><ulink url="&bzip2-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="i">
       <term>Coreutils (&coreutils-version;) - &coreutils-size;:</term>
       <listitem>
         <para><ulink url="&coreutils-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="j">
       <term>DejaGNU (&dejagnu-version;) - &dejagnu-size;:</term>
       <listitem>
         <para><ulink url="&dejagnu-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="k">
       <term>Diffutils (&diffutils-version;) - &diffutils-size;:</term>
       <listitem>
         <para><ulink url="&diffutils-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="l">
       <term>E2fsprogs (&e2fsprogs-version;) - &e2fsprogs-size;:</term>
       <listitem>
         <para><ulink url="&e2fsprogs-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="m">
       <term>Expect (&expect-version;) - &expect-size;:</term>
       <listitem>
         <para><ulink url="&expect-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="n">
       <term>File (&file-version;) - &file-size;:</term>
       <listitem>
         <para><ulink url="&file-url;"/></para>
@@ -114,246 +114,224 @@
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="o">
       <term>Findutils (&findutils-version;) - &findutils-size;:</term>
       <listitem>
         <para><ulink url="&findutils-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p">
       <term>Flex (&flex-version;) - &flex-size;:</term>
       <listitem>
         <para><ulink url="&flex-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="q">
       <term>Gawk (&gawk-version;) - &gawk-size;:</term>
       <listitem>
         <para><ulink url="&gawk-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="r">
       <term>GCC (&gcc-version;) - &gcc-size;:</term>
       <listitem>
         <para><ulink url="&gcc-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="s">
       <term>Gettext (&gettext-version;) - &gettext-size;:</term>
       <listitem>
         <para><ulink url="&gettext-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="t">
       <term>Glibc (&glibc-version;) - &glibc-size;:</term>
       <listitem>
         <para><ulink url="&glibc-url;"/></para>
       </listitem>
     </varlistentry>
 
-<!-- Glibc Release
-    <varlistentry>
-      <term>Glibc (&glibc-version;) - &glibc-size;:</term>
-      <listitem>
-        <para><ulink url="&glibc-url;"/></para>
-      </listitem>
-    </varlistentry>
-
-    <varlistentry>
-      <term>Glibc Libidn (&glibc-version;) - &glibc-libidn-size;:</term>
-      <listitem>
-        <para><ulink url="&glibc-libidn-url;"/></para>
-      </listitem>
-    </varlistentry>
-
-    <varlistentry>
-      <term>Glibc Linuxthreads (&glibc-version;) - &glibc-linuxthreads-size;:</term>
-      <listitem>
-        <para><ulink url="&glibc-linuxthreads-url;"/></para>
-      </listitem>
-    </varlistentry>
--->
-    <varlistentry>
+    <varlistentry os="u">
       <term>Grep (&grep-version;) - &grep-size;:</term>
       <listitem>
         <para><ulink url="&grep-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="v">
       <term>Groff (&groff-version;) - &groff-size;:</term>
       <listitem>
         <para><ulink url="&groff-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="w">
       <term>Gzip (&gzip-version;) - &gzip-size;:</term>
       <listitem>
         <para><ulink url="&gzip-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="x">
       <term>Hotplug (&hotplug-version;) - &hotplug-size;:</term>
       <listitem>
         <para><ulink url="&hotplug-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="y">
       <term>Iana-Etc (&iana-etc-version;) - &iana-etc-size;:</term>
       <listitem>
         <para><ulink url="&iana-etc-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="z">
       <term>Inetutils (&inetutils-version;) - &inetutils-size;:</term>
       <listitem>
         <para><ulink url="&inetutils-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="aa">
       <term>IPRoute2 (&iproute2-version;) - &iproute2-size;:</term>
       <listitem>
         <para><ulink url="&iproute2-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="ab">
       <term>Kbd (&kbd-version;) - &kbd-size;:</term>
       <listitem>
         <para><ulink url="&kbd-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="ac">
       <term>Less (&less-version;) - &less-size;:</term>
       <listitem>
         <para><ulink url="&less-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="ad">
       <term>LFS-Bootscripts (&lfs-bootscripts-version;) - &lfs-bootscripts-size;:</term>
       <listitem>
         <para><ulink url="&lfs-bootscripts-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="ae">
       <term>Libtool (&libtool-version;) - &libtool-size;:</term>
       <listitem>
         <para><ulink url="&libtool-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="af">
       <term>Linux (&linux-version;) - &linux-size;:</term>
       <listitem>
         <para><ulink url="&linux-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="ag">
       <term>Linux-Libc-Headers (&linux-libc-headers-version;) - &linux-libc-headers-size;:</term>
       <listitem>
         <para><ulink url="&linux-libc-headers-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="ah">
       <term>M4 (&m4-version;) - &m4-size;:</term>
       <listitem>
         <para><ulink url="&m4-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="ai">
       <term>Make (&make-version;) - &make-size;:</term>
       <listitem>
         <para><ulink url="&make-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="aj">
       <term>Man (&man-version;) - &man-size;:</term>
       <listitem>
         <para><ulink url="&man-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="ak">
       <term>Man-pages (&man-pages-version;) - &man-pages-size;:</term>
       <listitem>
         <para><ulink url="&man-pages-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="al">
       <term>Mktemp (&mktemp-version;) - &mktemp-size;:</term>
       <listitem>
         <para><ulink url="&mktemp-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="am">
       <term>Module-Init-Tools (&module-init-tools-version;) - &module-init-tools-size;:</term>
       <listitem>
         <para><ulink url="&module-init-tools-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="an">
       <term>Module-Init-Tools-Testsuite (&module-init-tools-version;) - &module-init-tools-testsuite-size;:</term>
       <listitem>
         <para><ulink url="&module-init-tools-testsuite-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="ao">
       <term>Ncurses (&ncurses-version;) - &ncurses-size;:</term>
       <listitem>
         <para><ulink url="&ncurses-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="ap">
       <term>Patch (&patch-version;) - &patch-size;:</term>
       <listitem>
         <para><ulink url="&patch-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="aq">
       <term>Perl (&perl-version;) - &perl-size;:</term>
       <listitem>
         <para><ulink url="&perl-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="ar">
       <term>Procps (&procps-version;) - &procps-size;:</term>
       <listitem>
         <para><ulink url="&procps-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="as">
       <term>Psmisc (&psmisc-version;) - &psmisc-size;:</term>
       <listitem>
         <para><ulink url="&psmisc-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="at">
       <term>Readline (&readline-version;) - &readline-size;:</term>
       <listitem>
         <para><ulink
@@ -361,14 +339,14 @@
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="au">
       <term>Sed (&sed-version;) - &sed-size;:</term>
       <listitem>
         <para><ulink url="&sed-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="av">
       <term>Shadow (&shadow-version;) - &shadow-size;:</term>
       <listitem>
         <para><ulink url="&shadow-url;"/></para>
@@ -384,77 +362,77 @@
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="aw">
       <term>Sysklogd (&sysklogd-version;) - &sysklogd-size;:</term>
       <listitem>
         <para><ulink url="&sysklogd-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="ax">
       <term>Sysvinit (&sysvinit-version;) - &sysvinit-size;:</term>
       <listitem>
         <para><ulink url="&sysvinit-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="ay">
       <term>Tar (&tar-version;) - &tar-size;:</term>
       <listitem>
         <para><ulink url="&tar-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="az">
       <term>Tcl (&tcl-version;) - &tcl-size;:</term>
       <listitem>
         <para><ulink url="&tcl-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="ba">
       <term>Texinfo (&texinfo-version;) - &texinfo-size;:</term>
       <listitem>
         <para><ulink url="&texinfo-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="bb">
       <term>Udev (&udev-version;) - &udev-size;:</term>
       <listitem>
         <para><ulink url="&udev-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="bc">
       <term>Udev Rules Configuration - &udev-config-size;:</term>
       <listitem>
         <para><ulink url="&udev-config-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="bd">
       <term>Util-linux (&util-linux-version;) - &util-linux-size;:</term>
       <listitem>
         <para><ulink url="&util-linux-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="be">
       <term>Vim (&vim-version;) - &vim-size;:</term>
       <listitem>
         <para><ulink url="&vim-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="bf">
       <term>Vim (&vim-version;) language files (optional) - &vim-language-size;:</term>
       <listitem>
         <para><ulink url="&vim-language-url;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="bg">
       <term>Zlib (&zlib-version;) - &zlib-size;:</term>
       <listitem>
         <para><ulink url="&zlib-url;"/></para>
@@ -463,6 +441,6 @@
 
   </variablelist>
 
-  <para>Total size of these packages: about 154 MB</para>
+  <para os="bh">Total size of these packages: about 154 MB</para>
 
 </sect1>

Added: trunk/BOOK/materials/common/packages2.xml
===================================================================
--- trunk/BOOK/materials/common/packages2.xml	2005-12-02 00:02:58 UTC (rev 795)
+++ trunk/BOOK/materials/common/packages2.xml	2005-12-02 04:40:51 UTC (rev 796)
@@ -0,0 +1,274 @@
+<?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-materials-packages-common">
+  <?dbhtml filename="packages.html"?>
+
+  <title>All Packages</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="packages.xml"
+  xpointer="xpointer(//*[@os='a'])"/>
+
+  <variablelist role="materials">
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='b'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='c'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='d'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='e'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='f'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='g'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='h'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='i'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='j'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='k'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='l'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='m'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='n'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='o'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='p'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='q'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='r'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='s'])"/>
+
+    <varlistentry>
+      <term>Glibc (&glibc-linuxthreads-version;) - &glibc-linuxthreads-size;:</term>
+      <listitem>
+        <para><ulink url="&glibc-linuxthreads-url;"/></para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry>
+      <term>Glibc Libidn (&glibc-linuxthreads-version;) - &glibc-linuxthreads-libidn-size;:</term>
+      <listitem>
+        <para><ulink url="&glibc-linuxthreads-libidn-url;"/></para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry>
+      <term>Glibc Linuxthreads (&glibc-linuxthreads-version;) - &glibc-linuxthreads-linuxthreads-size;:</term>
+      <listitem>
+        <para><ulink url="&glibc-linuxthreads-linuxthreads-url;"/></para>
+      </listitem>
+    </varlistentry>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='u'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='v'])"/>
+	
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='w'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='x'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='y'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='z'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='aa'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='ab'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='ac'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='ad'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='ae'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='af'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='ag'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='ah'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='ai'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='aj'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='ak'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='al'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='am'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='an'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='ao'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='ap'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='aq'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='ar'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='as'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='at'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='au'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='av'])"/>
+	
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='aw'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='ax'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='ay'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='az'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='ba'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='bb'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='bc'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='bd'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='be'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='bf'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='bg'])"/>
+
+  </variablelist>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="packages.xml"
+    xpointer="xpointer(//*[@os='bh'])"/>
+
+</sect1>

Modified: trunk/BOOK/materials/common/patches.xml
===================================================================
--- trunk/BOOK/materials/common/patches.xml	2005-12-02 00:02:58 UTC (rev 795)
+++ trunk/BOOK/materials/common/patches.xml	2005-12-02 04:40:51 UTC (rev 796)
@@ -10,7 +10,7 @@
 
   <title>Needed Patches</title>
 
-  <para>In addition to the packages, several patches are also required.
+  <para os="a">In addition to the packages, several patches are also required.
   These patches correct any mistakes in the packages that should be
   fixed by the maintainer. The patches also make small modifications to
   make the packages easier to work with. The following patches will be
@@ -18,7 +18,7 @@
 
   <variablelist role="materials">
 
-    <varlistentry>
+    <varlistentry os="p1">
       <term>Bash Avoid Wcontinued Patch - 1 KB:</term>
       <listitem>
         <para><ulink
@@ -26,7 +26,7 @@
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p2">
       <term>Bash Various Fixes - 23 KB:</term>
       <listitem>
         <para><ulink
@@ -34,7 +34,7 @@
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p3">
       <term>Binutils Posix Patch - 1 KB:</term>
       <listitem>
         <para><ulink
@@ -42,7 +42,7 @@
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p4">
       <term>Bzip2 Bzgrep Security Fixes Patch - 1 KB:</term>
       <listitem>
         <para><ulink
@@ -50,7 +50,7 @@
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p5">
       <term>Bzip2 Documentation Patch - 1 KB:</term>
       <listitem>
         <para><ulink
@@ -58,7 +58,7 @@
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p6">
       <term>Coreutils Suppress Uptime, Kill, Su Patch - 15 KB:</term>
       <listitem>
         <para><ulink
@@ -66,7 +66,7 @@
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p7">
       <term>Expect Spawn Patch - 7 KB:</term>
       <listitem>
         <para><ulink
@@ -74,7 +74,7 @@
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p8">
       <term>Flex Brokenness Patch - 156 KB:</term>
       <listitem>
         <para><ulink
@@ -82,7 +82,7 @@
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p9">
       <term>Gawk Segfault Patch - 2 KB:</term>
       <listitem>
         <para><ulink
@@ -90,7 +90,7 @@
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p10">
       <term>GCC Cross Search Paths Patch - 2 KB:</term>
       <listitem>
         <para><ulink
@@ -98,7 +98,7 @@
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p11">
       <term>GCC Posix Patch - 9 KB:</term>
       <listitem>
         <para><ulink
@@ -106,7 +106,7 @@
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p12">
       <term>Glibc Disable linking with libgcc_eh.a - 1 KB:</term>
       <listitem>
         <para><ulink
@@ -114,7 +114,7 @@
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p13">
       <term>Glibc Localedef Segfault - 2 KB:</term>
       <listitem>
         <para><ulink
@@ -122,7 +122,7 @@
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p14">
       <term>Gzip Security Fix Patch - 2 KB:</term>
       <listitem>
         <para><ulink
@@ -130,7 +130,7 @@
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p15">
       <term>Inetutils GCC 4.x Fixes Patch - 2 KB:</term>
       <listitem>
         <para><ulink
@@ -138,7 +138,7 @@
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p16">
       <term>Inetutils No-Server-Man-Pages Patch - 4 KB:</term>
       <listitem>
         <para><ulink
@@ -146,7 +146,7 @@
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p17">
       <term>KBD GCC 4.x Fixes Patch - 2 KB:</term>
       <listitem>
         <para><ulink
@@ -154,7 +154,7 @@
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p18">
       <term>Mktemp Tempfile Patch - 4 KB:</term>
       <listitem>
         <para><ulink
@@ -162,7 +162,7 @@
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p19">
       <term>Perl Libc Patch - 1 KB:</term>
       <listitem>
         <para><ulink
@@ -170,7 +170,7 @@
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p20">
       <term>Readline Various Fixes Patch - 6.9 KB:</term>
       <listitem>
         <para><ulink
@@ -178,7 +178,7 @@
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p21">
       <term>Shadow Configure Fixes Patch - 2 KB:</term>
       <listitem>
         <para><ulink
@@ -186,7 +186,7 @@
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p22">
       <term>Sysklogd Fixes Patch - 27 KB:</term>
       <listitem>
         <para><ulink
@@ -194,7 +194,7 @@
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p23">
       <term>Tar GCC-4.x Fix Patch - 1 KB:</term>
       <listitem>
         <para><ulink
@@ -202,7 +202,7 @@
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p24">
       <term>Tar Sparse Fix Patch - 1 KB:</term>
       <listitem>
         <para><ulink
@@ -210,21 +210,21 @@
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p25">
        <term>Texinfo Tempfile Fix Patch - 2 KB:</term>
        <listitem>
           <para><ulink url="&patches-root;texinfo/&texinfo-tempfile_fix-patch;"/></para>
        </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p26">
       <term>Util-linux Cramfs Patch - 3 KB:</term> <listitem>
         <para><ulink
         url="&patches-root;util-linux/&util-linux-cramfs-patch;"/></para>
       </listitem>
     </varlistentry>
 
-    <varlistentry>
+    <varlistentry os="p27">
       <term>Util-linux GCC 4.x Patch - 1  KB:</term> <listitem>
         <para><ulink
         url="&patches-root;util-linux/&util-linux-gcc4_fixes-patch;"/></para>
@@ -233,7 +233,7 @@
 
   </variablelist>
 
-  <para>In addition to the above required patches, there exist a number of
+  <para os="b">In addition to the above required patches, there exist a number of
   optional patches created by the LFS community. These optional patches
   solve minor problems or enable functionality that is not enabled by
   default. Feel free to peruse the patches database located at

Added: trunk/BOOK/materials/common/patches2.xml
===================================================================
--- trunk/BOOK/materials/common/patches2.xml	2005-12-02 00:02:58 UTC (rev 795)
+++ trunk/BOOK/materials/common/patches2.xml	2005-12-02 04:40:51 UTC (rev 796)
@@ -0,0 +1,141 @@
+<?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-materials-patches-common">
+  <?dbhtml filename="patches.html"?>
+
+  <title>Needed Patches</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="patches.xml"
+  xpointer="xpointer(//*[@os='a'])"/>
+
+  <variablelist role="materials">
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p1'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p2'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p3'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p4'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p5'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p6'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p7'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p8'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p9'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p10'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p11'])"/>
+
+    <varlistentry>
+      <term>Glibc Disable linking with libgcc_eh.a - 1 KB:</term>
+      <listitem>
+        <para><ulink
+        url="&patches-root;glibc/&glibc-linuxthreads-libgcc_eh-patch;"/></para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry>
+      <term>Glibc Localedef Segfault - 2 KB:</term>
+      <listitem>
+        <para><ulink
+        url="&patches-root;glibc/&glibc-linuxthreads-localedef_segfault-patch;"/></para>
+      </listitem>
+    </varlistentry>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p14'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p15'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p16'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p17'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p18'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p19'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p20'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p21'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p22'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p23'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p24'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p25'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p26'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="patches.xml"
+    xpointer="xpointer(//*[@os='p27'])"/>
+
+  </variablelist>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="patches.xml"
+  xpointer="xpointer(//*[@os='b'])"/>
+
+</sect1>

Added: trunk/BOOK/materials/sparcv8/patches.xml
===================================================================
--- trunk/BOOK/materials/sparcv8/patches.xml	2005-12-02 00:02:58 UTC (rev 795)
+++ trunk/BOOK/materials/sparcv8/patches.xml	2005-12-02 04:40:51 UTC (rev 796)
@@ -0,0 +1,37 @@
+<?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-materials-patches-sparc">
+  <?dbhtml filename="patches-sparc.html"?>
+
+  <title>Additional Patches for Sparc</title>
+
+  <variablelist role="materials">
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../sparc/patches.xml"
+    xpointer="xpointer(//*[@os='binutils-sparc_aout-patch'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../x86/patches.xml"
+    xpointer="xpointer(//*[@os='gcc-specs-patch'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../sparc/patches.xml"
+    xpointer="xpointer(//*[@os='kbd-sparc_kbdrate-patch'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../sparc/patches.xml"
+    xpointer="xpointer(//*[@os='linux-libc-headers-sparc_conflicts-patch'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../sparc/patches.xml"
+    xpointer="xpointer(//*[@os='silo-fixes-patch'])"/>
+
+  </variablelist>
+
+</sect1>

Added: trunk/BOOK/materials/sparcv8-chapter.xml
===================================================================
--- trunk/BOOK/materials/sparcv8-chapter.xml	2005-12-02 00:02:58 UTC (rev 795)
+++ trunk/BOOK/materials/sparcv8-chapter.xml	2005-12-02 04:40:51 UTC (rev 796)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE chapter 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;
+]>
+
+<chapter id="chapter-getting-materials" xreflabel="Packages and Patches">
+  <?dbhtml dir="materials"?>
+  <?dbhtml filename="chapter.html"?>
+
+  <title>Packages and Patches</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/packages2.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc/packages.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/patches2.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparcv8/patches.xml"/>
+
+</chapter>

Modified: trunk/BOOK/packages.ent
===================================================================
--- trunk/BOOK/packages.ent	2005-12-02 00:02:58 UTC (rev 795)
+++ trunk/BOOK/packages.ent	2005-12-02 04:40:51 UTC (rev 796)
@@ -99,11 +99,14 @@
 
 <!ENTITY glibc-linuxthreads-version "2.3.6">
 <!ENTITY glibc-linuxthreads-size "14 MB">
-<!ENTITY glibc-linuxthreads-url "&gnu;glibc/glibc-&glibc-linuxthreds-version;.tar.bz2">
+<!ENTITY glibc-linuxthreads-url "&gnu;glibc/glibc-&glibc-linuxthreads-version;.tar.bz2">
 
-<!ENTITY glibc-linuxthreads-thread-size "14 MB">
-<!ENTITY glibc-linuxthreads-thread-url "&gnu;glibc/glibc-&glibc-linuxthreads-version;.tar.bz2">
+<!ENTITY glibc-linuxthreads-linuxthreads-size "238 KB">
+<!ENTITY glibc-linuxthreads-linuxthreads-url "&gnu;glibc/glibc-linuxthreads-&glibc-linuxthreads-version;.tar.bz2">
 
+<!ENTITY glibc-linuxthreads-libidn-size "99 KB">
+<!ENTITY glibc-linuxthreads-libidn-url "&gnu;glibc/glibc-libidn-&glibc-linuxthreads-version;.tar.bz2">
+
 <!ENTITY grep-version "2.5.1a">
 <!ENTITY grep-size "520 KB">
 <!ENTITY grep-url "&gnu;grep/grep-&grep-version;.tar.bz2">

Modified: trunk/BOOK/patches.ent
===================================================================
--- trunk/BOOK/patches.ent	2005-12-02 00:02:58 UTC (rev 795)
+++ trunk/BOOK/patches.ent	2005-12-02 04:40:51 UTC (rev 796)
@@ -26,6 +26,9 @@
 <!ENTITY glibc-libgcc_eh-patch "glibc-&glibc-version;-libgcc_eh-1.patch">
 <!ENTITY glibc-localedef_segfault-patch "glibc-&glibc-version;-localedef_segfault-1.patch">
 
+<!ENTITY glibc-linuxthreads-libgcc_eh-patch "glibc-&glibc-linuxthreads-version;-libgcc_eh-1.patch">
+<!ENTITY glibc-linuxthreads-localedef_segfault-patch "glibc-&glibc-linuxthreads-version;-localedef_segfault-1.patch">
+
 <!ENTITY gzip-security_fix-patch "gzip-&gzip-version;-security_fixes-1.patch">
 
 <!ENTITY inetutils-man_pages-patch "inetutils-&inetutils-version;-no_server_man_pages-1.patch">

Added: trunk/BOOK/sparcv8-index.xml
===================================================================
--- trunk/BOOK/sparcv8-index.xml	2005-12-02 00:02:58 UTC (rev 795)
+++ trunk/BOOK/sparcv8-index.xml	2005-12-02 04:40:51 UTC (rev 796)
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE book 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;
+]>
+
+<book>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="prologue/sparc/bookinfo.xml"/>
+  <!--
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="prologue/dedication.xml"/>
+  -->
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="prologue/preface.xml"/>
+
+  <part id="part1">
+    <?dbhtml filename="part1.html"?>
+
+    <title>Introduction</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="introduction/sparc-chapter.xml"/>
+
+  </part>
+
+  <part id="part2">
+    <?dbhtml filename="part2.html"?>
+
+    <title>Preparing for the Build</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="partitioning/sparc-chapter.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="materials/sparcv8-chapter.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="final-preps/chapter.xml"/>
+
+  </part>
+
+  <part id="part3">
+    <?dbhtml filename="part3.html"?>
+
+    <title>Make the Cross-Compile Tools</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="cross-tools/sparcv8-chapter.xml"/>
+
+  </part>
+
+  <part id="part4">
+    <?dbhtml filename="part4.html"?>
+
+    <title>Building the Basic Tools</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="temp-system/sparc-chapter.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="boot/sparc-chapter.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="chroot/sparc-chapter.xml"/>
+
+  </part>
+
+  <part id="part5">
+    <?dbhtml filename="part5.html"?>
+
+    <title>Building the LFS System</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="temp-tools/sparc-chapter.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="final-system/sparcv8-chapter.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="bootscripts/sparc-chapter.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="bootable/sparc-chapter.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="the-end/chapter.xml"/>
+
+  </part>
+
+  <part id="part6">
+    <?dbhtml filename="part6.html"?>
+
+    <title>Appendices</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="appendices/acronymlist.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="appendices/acknowledgments.xml"/>
+
+  </part>
+
+  <index/>
+
+</book>

Modified: trunk/BOOK/stylesheets/top-index.xsl
===================================================================
--- trunk/BOOK/stylesheets/top-index.xsl	2005-12-02 00:02:58 UTC (rev 795)
+++ trunk/BOOK/stylesheets/top-index.xsl	2005-12-02 04:40:51 UTC (rev 796)
@@ -131,6 +131,13 @@
           </li>
           <li>
             <h4>
+              <a href="sparcv8">
+                <xsl:text>Sparc v8 and below</xsl:text>
+              </a>
+            </h4>
+          </li>
+          <li>
+            <h4>
               <a href="sparc">
                 <xsl:text>Sparc v9 and above</xsl:text>
               </a>

Added: trunk/BOOK/temp-system/sparcv8/binutils.xml
===================================================================
--- trunk/BOOK/temp-system/sparcv8/binutils.xml	2005-12-02 00:02:58 UTC (rev 795)
+++ trunk/BOOK/temp-system/sparcv8/binutils.xml	2005-12-02 04:40:51 UTC (rev 796)
@@ -0,0 +1,88 @@
+<?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-temp-system-binutils" role="wrap">
+  <?dbhtml filename="binutils.html"?>
+
+  <title>Binutils-&binutils-version;</title>
+
+  <indexterm zone="ch-temp-system-binutils">
+    <primary sortas="a-Binutils">Binutils</primary>
+    <secondary>temporary system</secondary>
+  </indexterm>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../../final-system/common/binutils.xml"
+  xpointer="xpointer(//*[@role='package'])"/>
+
+  <sect2 role="installation">
+    <title>Installation of Binutils</title>
+
+    <para os="da">It is important that Binutils be the first package compiled
+    because both Glibc and GCC perform various tests on the available
+    linker and assembler to determine which of their own features to
+    enable.</para>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../cross-tools/common/binutils.xml"
+    xpointer="xpointer(//*[@os='ba'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../cross-tools/common/binutils.xml"
+    xpointer="xpointer(//*[@os='bb'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/sparc/binutils.xml"
+    xpointer="xpointer(//*[@os='s3'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/sparc/binutils.xml"
+    xpointer="xpointer(//*[@os='s4'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/common/binutils.xml"
+    xpointer="xpointer(//*[@os='g'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/common/binutils.xml"
+    xpointer="xpointer(//*[@os='h'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/common/binutils.xml"
+    xpointer="xpointer(//*[@os='i'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/common/binutils.xml"
+    xpointer="xpointer(//*[@os='j'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../cross-tools/common/binutils.xml"
+    xpointer="xpointer(//*[@os='be'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../cross-tools/common/binutils.xml"
+    xpointer="xpointer(//*[@os='bf'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../cross-tools/common/binutils.xml"
+    xpointer="xpointer(//*[@os='bh'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../cross-tools/common/binutils.xml"
+    xpointer="xpointer(//*[@os='bi'])"/>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title/>
+
+    <para>Details on this package are located in <xref
+    linkend="contents-binutils" role="."/></para>
+
+  </sect2>
+
+</sect1>

Added: trunk/BOOK/temp-system/sparcv8-chapter.xml
===================================================================
--- trunk/BOOK/temp-system/sparcv8-chapter.xml	2005-12-02 00:02:58 UTC (rev 795)
+++ trunk/BOOK/temp-system/sparcv8-chapter.xml	2005-12-02 04:40:51 UTC (rev 796)
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE chapter 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;
+]>
+
+<chapter id="chapter-temp-system" xreflabel="Constructing a Temporary System">
+  <?dbhtml dir="temp-system"?>
+  <?dbhtml filename="chapter.html"?>
+
+  <title>Constructing a Temporary System</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/variables.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="sparc/gcc.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/zlib.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gawk.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/coreutils.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/bzip2.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gzip.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/diffutils.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/findutils.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/make.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/grep.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/sed.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gettext.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/ncurses.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/patch.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/tar.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/bash.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/choose.xml"/>
+
+</chapter>




More information about the cross-lfs mailing list