Author: manuel
Date: 2005-07-31 07:15:35 -0600 (Sun, 31 Jul 2005)
New Revision: 6609
Modified:
branches/cross-lfs/BOOK/final-system/mips/glibc.xml
branches/cross-lfs/BOOK/final-system/mips64/glibc-64bit.xml
branches/cross-lfs/BOOK/final-system/mips64/glibc-n32.xml
branches/cross-lfs/BOOK/final-system/mips64/glibc.xml
branches/cross-lfs/BOOK/final-system/sparc/glibc.xml
branches/cross-lfs/BOOK/final-system/sparc64/glibc-64bit.xml
branches/cross-lfs/BOOK/final-system/sparc64/glibc.xml
branches/cross-lfs/BOOK/final-system/x86/glibc.xml
branches/cross-lfs/BOOK/final-system/x86_64/glibc-64bit.xml
branches/cross-lfs/BOOK/final-system/x86_64/glibc.xml
branches/cross-lfs/BOOK/general.ent
Log:
Xinclude updates in final-system Glibc pages.
Modified: branches/cross-lfs/BOOK/final-system/mips/glibc.xml
===================================================================
--- branches/cross-lfs/BOOK/final-system/mips/glibc.xml 2005-07-31 05:29:57 UTC
(rev 6608)
+++ branches/cross-lfs/BOOK/final-system/mips/glibc.xml 2005-07-31 13:15:35 UTC
(rev 6609)
@@ -25,9 +25,9 @@
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../x86/glibc.xml"
- xpointer="xpointer(id('install-glibc')/para[1])"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'a'])"/>
- <para>This architecture does not currently support NPTL, so we will
+ <para os="ba">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-version;</filename> tarball from
@@ -36,27 +36,99 @@
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../x86/glibc.xml"
- xpointer="xpointer(id('install-glibc')/para[2])"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'b'])"/>
- <para>The following patch corrects the building of
+ <para os="bb">The following patch corrects the building of
<filename class="headerfile">syscall.h</filename>:</para>
-<screen><userinput>patch -Np1 -i
../&glibc-mips_syscall-patch;</userinput></screen>
+<screen os="bc"><userinput>patch -Np1 -i
../&glibc-mips_syscall-patch;</userinput></screen>
- <para>NPTL is not supported under this architecture, so we are going to
+ <para os="bd">NPTL is not supported under this architecture, so we are
going to
remove the <filename class="directory">nptl</filename> directory from
the Glibc source:</para>
-<screen><userinput>rm -rf nptl*</userinput></screen>
+<screen os="be"><userinput>rm -rf nptl*</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../x86/glibc.xml"
-
xpointer="xpointer(id('install-glibc')/para[4]/range-to(id('install-glibc')/para[12]))"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'e'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../x86/glibc.xml"
-
xpointer="xpointer(id('install-glibc')/screen[8]/range-to(id('install-glibc')/para[last()]))"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'f'])"/>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'g'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'h'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'i'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'j'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'k'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'l'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'m'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'n'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'o'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'p'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'q'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'r'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'s'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'t'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'u'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'w'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'x'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'y'])"/>
+
</sect2>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
Modified: branches/cross-lfs/BOOK/final-system/mips64/glibc-64bit.xml
===================================================================
--- branches/cross-lfs/BOOK/final-system/mips64/glibc-64bit.xml 2005-07-31
05:29:57 UTC (rev 6608)
+++ branches/cross-lfs/BOOK/final-system/mips64/glibc-64bit.xml 2005-07-31
13:15:35 UTC (rev 6609)
@@ -44,38 +44,48 @@
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../mips64/glibc.xml"
- xpointer="xpointer(//[EMAIL PROTECTED]'installation']/para[1])"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'a'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../mips64/glibc.xml"
- xpointer="xpointer(//[EMAIL PROTECTED]'installation']/para[2])"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'ba'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../mips64/glibc.xml"
- xpointer="xpointer(//[EMAIL PROTECTED]'installation']/para[3])"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'b'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../mips64/glibc.xml"
- xpointer="xpointer(//[EMAIL PROTECTED]'installation']/para[4])"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'bb'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../mips64/glibc.xml"
- xpointer="xpointer(//[EMAIL PROTECTED]'installation']/screen[1])"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'bc'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../mips64/glibc.xml"
- xpointer="xpointer(//[EMAIL PROTECTED]'installation']/para[5])"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'bd'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../mips64/glibc.xml"
- xpointer="xpointer(//[EMAIL PROTECTED]'installation']/screen[2])"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'be'])"/>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../mips64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'e'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../mips64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'f'])"/>
+
<para>Now we make sure the Glibc goes into <filename
class="directory">/lib64</filename>:</para>
-<screen><userinput>echo "slibdir=/lib64" >> configparms</userinput></screen>
+<screen><userinput>echo "slibdir=/lib64" >>
configparms</userinput></screen>
- <para>Next, prepare Glibc for compilation:</para>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../mips64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'g'])"/>
<screen><userinput>CC="gcc ${BUILD64}" CXX="gcc ${BUILD64}" \
../glibc-&glibc-version;/configure --prefix=/usr \
@@ -96,25 +106,53 @@
</varlistentry>
</variablelist>
- <para>Compile the package:</para>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../mips64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'j'])"/>
-<screen><userinput>make</userinput></screen>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../mips64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'k'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../mips64/glibc.xml"
- xpointer="xpointer(//[EMAIL PROTECTED]'installation']/important[1])"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'l'])"/>
- <para>Test the results:</para>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../mips64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'m'])"/>
-<screen><userinput>make check</userinput></screen>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../mips64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'n'])"/>
- <para>Install the package:</para>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../mips64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'s'])"/>
-<screen><userinput>make install</userinput></screen>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../mips64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'t'])"/>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'u'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'w'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'x'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'y'])"/>
+
</sect2>
- <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../x86/glibc.xml"
xpointer="xpointer(id('i18n-glibc'))"/>
Modified: branches/cross-lfs/BOOK/final-system/mips64/glibc-n32.xml
===================================================================
--- branches/cross-lfs/BOOK/final-system/mips64/glibc-n32.xml 2005-07-31
05:29:57 UTC (rev 6608)
+++ branches/cross-lfs/BOOK/final-system/mips64/glibc-n32.xml 2005-07-31
13:15:35 UTC (rev 6609)
@@ -44,40 +44,48 @@
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../mips64/glibc.xml"
- xpointer="xpointer(//[EMAIL PROTECTED]'installation']/para[1])"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'a'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../mips64/glibc.xml"
- xpointer="xpointer(//[EMAIL PROTECTED]'installation']/para[2])"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'ba'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../mips64/glibc.xml"
- xpointer="xpointer(//[EMAIL PROTECTED]'installation']/para[3])"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'b'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../mips64/glibc.xml"
- xpointer="xpointer(//[EMAIL PROTECTED]'installation']/para[4])"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'bb'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../mips64/glibc.xml"
- xpointer="xpointer(//[EMAIL PROTECTED]'installation']/screen[1])"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'bc'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../mips64/glibc.xml"
- xpointer="xpointer(//[EMAIL PROTECTED]'installation']/para[5])"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'bd'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../mips64/glibc.xml"
- xpointer="xpointer(//[EMAIL PROTECTED]'installation']/screen[2])"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'be'])"/>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../mips64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'e'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../mips64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'f'])"/>
+
<para>Now we make sure the Glibc goes into <filename
class="directory">/lib32</filename>:</para>
-<screen><userinput>echo "slibdir=/lib32" >> configparms</userinput></screen>
+<screen><userinput>echo "slibdir=/lib32" >>
configparms</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../mips64/glibc.xml"
- xpointer="xpointer(//[EMAIL PROTECTED]'installation']/para[6])"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'g'])"/>
<screen><userinput>CC="gcc ${BUILDN32}" CXX="gcc ${BUILDN32} \
../glibc-&glibc-version;/configure --prefix=/usr \
@@ -98,21 +106,33 @@
</varlistentry>
</variablelist>
- <para>Compile the package:</para>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../mips64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'j'])"/>
-<screen><userinput>make</userinput></screen>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../mips64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'k'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../mips64/glibc.xml"
- xpointer="xpointer(//[EMAIL PROTECTED]'installation']/important[1])"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'l'])"/>
- <para>Test the results:</para>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../mips64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'m'])"/>
-<screen><userinput>make check</userinput></screen>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../mips64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'n'])"/>
- <para>Install the package:</para>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../mips64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'s'])"/>
-<screen><userinput>make install</userinput></screen>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../mips64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'t'])"/>
</sect2>
Modified: branches/cross-lfs/BOOK/final-system/mips64/glibc.xml
===================================================================
--- branches/cross-lfs/BOOK/final-system/mips64/glibc.xml 2005-07-31
05:29:57 UTC (rev 6608)
+++ branches/cross-lfs/BOOK/final-system/mips64/glibc.xml 2005-07-31
13:15:35 UTC (rev 6609)
@@ -44,34 +44,44 @@
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../x86/glibc.xml"
- xpointer="xpointer(id('install-glibc')/para[1])"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'a'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../mips/glibc.xml"
- xpointer="xpointer(//[EMAIL PROTECTED]'installation']/para[2])"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'ba'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../x86/glibc.xml"
- xpointer="xpointer(id('install-glibc')/para[2])"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'b'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../mips/glibc.xml"
- xpointer="xpointer(//[EMAIL PROTECTED]'installation']/para[4])"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'bb'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../mips/glibc.xml"
- xpointer="xpointer(//[EMAIL PROTECTED]'installation']/screen[1])"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'bc'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../mips/glibc.xml"
- xpointer="xpointer(//[EMAIL PROTECTED]'installation']/para[5])"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'bd'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../mips/glibc.xml"
- xpointer="xpointer(//[EMAIL PROTECTED]'installation']/screen[2])"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'be'])"/>
- <para>Prepare Glibc for compilation:</para>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'e'])"/>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'f'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'g'])"/>
+
<screen><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
../glibc-&glibc-version;/configure --prefix=/usr \
--host=${LFS_TARGET32} --disable-profile --enable-add-ons \
@@ -79,12 +89,52 @@
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../x86/glibc.xml"
-
xpointer="xpointer(id('install-glibc')/para[5]/range-to(id('install-glibc')/para[12]))"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'i'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../x86/glibc.xml"
-
xpointer="xpointer(id('install-glibc')/screen[8]/range-to(id('install-glibc')/para[last()]))"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'j'])"/>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'k'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'l'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'m'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'n'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'o'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'p'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'q'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'r'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'s'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'t'])"/>
+
</sect2>
<sect2 role="content">
Modified: branches/cross-lfs/BOOK/final-system/sparc/glibc.xml
===================================================================
--- branches/cross-lfs/BOOK/final-system/sparc/glibc.xml 2005-07-31
05:29:57 UTC (rev 6608)
+++ branches/cross-lfs/BOOK/final-system/sparc/glibc.xml 2005-07-31
13:15:35 UTC (rev 6609)
@@ -25,32 +25,104 @@
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../x86/glibc.xml"
- xpointer="xpointer(id('install-glibc')/para[1])"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'a'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../mips/glibc.xml"
- xpointer="xpointer(/sect1/sect2[2]/para[2])"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'ba'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../x86/glibc.xml"
- xpointer="xpointer(id('install-glibc')/para[2])"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'b'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../mips/glibc.xml"
- xpointer="xpointer(/sect1/sect2[2]/para[5])"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'bd'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../mips/glibc.xml"
- xpointer="xpointer(/sect1/sect2[2]/screen[2])"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'be'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../x86/glibc.xml"
-
xpointer="xpointer(id('install-glibc')/para[4]/range-to(id('install-glibc')/para[12]))"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'e'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../x86/glibc.xml"
-
xpointer="xpointer(id('install-glibc')/screen[8]/range-to(id('install-glibc')/para[last()]))"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'f'])"/>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'g'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'h'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'i'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'j'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'k'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'l'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'m'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'n'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'o'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'p'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'q'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'r'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'s'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'t'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'u'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'w'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'x'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'y'])"/>
+
</sect2>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
Modified: branches/cross-lfs/BOOK/final-system/sparc64/glibc-64bit.xml
===================================================================
--- branches/cross-lfs/BOOK/final-system/sparc64/glibc-64bit.xml
2005-07-31 05:29:57 UTC (rev 6608)
+++ branches/cross-lfs/BOOK/final-system/sparc64/glibc-64bit.xml
2005-07-31 13:15:35 UTC (rev 6609)
@@ -43,39 +43,41 @@
<title>Installation of Glibc</title>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
- href="../x86/glibc.xml"
- xpointer="xpointer(id('install-glibc')/para[1])"/>
+ href="../sparc64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'a'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
- href="../mips/glibc.xml"
- xpointer="xpointer(/sect1/sect2[2]/para[2])"/>
+ href="../sparc64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'ba'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
- href="../x86/glibc.xml"
- xpointer="xpointer(id('install-glibc')/para[2])"/>
+ href="../sparc64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'b'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
- href="../mips/glibc.xml"
- xpointer="xpointer(/sect1/sect2[2]/para[5])"/>
+ href="../sparc64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'bd'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
- href="../mips/glibc.xml"
- xpointer="xpointer(/sect1/sect2[2]/screen[2])"/>
+ href="../sparc64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'be'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
- href="../x86/glibc.xml"
- xpointer="xpointer(id('install-glibc')/para[4])"/>
+ href="../sparc64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'e'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
- href="../x86/glibc.xml"
- xpointer="xpointer(id('install-glibc')/screen[2])"/>
+ href="../sparc64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'f'])"/>
- <para>Now we make sure the Glibc goes into <filename
+ <para>Now we make sure the Glibc goes into <filename
class="directory">/lib64</filename>:</para>
-<screen><userinput>echo "slibdir=/lib64" >> configparms</userinput></screen>
+<screen><userinput>echo "slibdir=/lib64" >>
configparms</userinput></screen>
- <para>Next, prepare Glibc for compilation:</para>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../sparc64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'g'])"/>
<screen><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
../glibc-&glibc-version;/configure --prefix=/usr \
@@ -96,25 +98,53 @@
</varlistentry>
</variablelist>
- <para>Compile the package:</para>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../sparc64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'j'])"/>
-<screen><userinput>make</userinput></screen>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../sparc64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'k'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
- href="../mips64/glibc.xml"
- xpointer="xpointer(//[EMAIL PROTECTED]'installation']/important[1])"/>
+ href="../sparc64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'l'])"/>
- <para>Test the results:</para>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../sparc64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'m'])"/>
-<screen><userinput>make check</userinput></screen>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../sparc64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'n'])"/>
- <para>Install the package:</para>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../sparc64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'s'])"/>
-<screen><userinput>make install</userinput></screen>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../sparc64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'t'])"/>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'u'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'w'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'x'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'y'])"/>
+
</sect2>
- <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../x86/glibc.xml"
xpointer="xpointer(id('i18n-glibc'))"/>
Modified: branches/cross-lfs/BOOK/final-system/sparc64/glibc.xml
===================================================================
--- branches/cross-lfs/BOOK/final-system/sparc64/glibc.xml 2005-07-31
05:29:57 UTC (rev 6608)
+++ branches/cross-lfs/BOOK/final-system/sparc64/glibc.xml 2005-07-31
13:15:35 UTC (rev 6609)
@@ -44,33 +44,35 @@
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../x86/glibc.xml"
- xpointer="xpointer(id('install-glibc')/para[1])"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'a'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../mips/glibc.xml"
- xpointer="xpointer(/sect1/sect2[2]/para[2])"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'ba'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../x86/glibc.xml"
- xpointer="xpointer(id('install-glibc')/para[2])"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'b'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../mips/glibc.xml"
- xpointer="xpointer(/sect1/sect2[2]/para[5])"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'bd'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../mips/glibc.xml"
- xpointer="xpointer(/sect1/sect2[2]/screen[2])"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'be'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../x86/glibc.xml"
- xpointer="xpointer(id('install-glibc')/para[4])"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'e'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../x86/glibc.xml"
- xpointer="xpointer(id('install-glibc')/screen[2])"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'f'])"/>
- <para>Prepare Glibc for compilation:</para>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'g'])"/>
<screen><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
../glibc-&glibc-version;/configure --prefix=/usr \
@@ -79,12 +81,52 @@
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../x86/glibc.xml"
-
xpointer="xpointer(id('install-glibc')/variablelist[1]/range-to(id('install-glibc')/para[12]))"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'i'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../x86/glibc.xml"
-
xpointer="xpointer(id('install-glibc')/screen[8]/range-to(id('install-glibc')/para[last()]))"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'j'])"/>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'k'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'l'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'m'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'n'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'o'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'p'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'q'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'r'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'s'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'t'])"/>
+
</sect2>
<sect2 role="content">
Modified: branches/cross-lfs/BOOK/final-system/x86/glibc.xml
===================================================================
--- branches/cross-lfs/BOOK/final-system/x86/glibc.xml 2005-07-31 05:29:57 UTC
(rev 6608)
+++ branches/cross-lfs/BOOK/final-system/x86/glibc.xml 2005-07-31 13:15:35 UTC
(rev 6609)
@@ -48,38 +48,38 @@
<sect2 id="install-glibc" role="installation">
<title>Installation of Glibc</title>
- <para>This package is known to behave badly when you change its default
+ <para os="a">This package is known to behave badly when you change its
default
optimization flags (including the <option>-march</option> and
<option>-mcpu</option> options). Therefore, if you have defined any
environment variables that override default optimizations, such as CFLAGS
and CXXFLAGS, we recommend un-setting them when building Glibc.</para>
- <para>The Glibc build system is self-contained and will install
+ <para os="b">The Glibc build system is self-contained and will install
perfectly, even though the compiler specs file and linker are still
pointing at <filename class="directory">/tools</filename>. The specs
and linker cannot be adjusted before the Glibc install because the
Glibc autoconf tests would give false results and defeat the goal
of achieving a clean build.</para>
- <para> Glibc has two tests which fail when the running kernel is 2.6.11 or
+ <para os="c">Glibc has two tests which fail when the running kernel is
2.6.11 or
later. The problem has been determined to be with the tests themselves, not
with the C library nor the kernel. This patch fixes the problem:</para>
-<screen><userinput>patch -Np1 -i ../&glibc-testfix-patch;</userinput></screen>
+<screen os="d"><userinput>patch -Np1 -i
../&glibc-testfix-patch;</userinput></screen>
- <para>The Glibc documentation recommends building Glibc outside of the
+ <para os="e">The Glibc documentation recommends building Glibc outside of
the
source directory in a dedicated build directory:</para>
-<screen><userinput>mkdir ../glibc-build
+<screen os="f"><userinput>mkdir ../glibc-build
cd ../glibc-build</userinput></screen>
- <para>Prepare Glibc for compilation:</para>
+ <para os="g">Prepare Glibc for compilation:</para>
-<screen><userinput>../glibc-&glibc-version;/configure --prefix=/usr \
+<screen os="h"><userinput>../glibc-&glibc-version;/configure --prefix=/usr \
--disable-profile --enable-add-ons --enable-kernel=2.6.0 \
--libexecdir=/usr/lib/glibc</userinput></screen>
- <variablelist>
+ <variablelist os="i">
<title>The meaning of the new configure option:</title>
<varlistentry>
@@ -93,26 +93,26 @@
</varlistentry>
</variablelist>
- <para>Compile the package:</para>
+ <para os="j">Compile the package:</para>
-<screen><userinput>make</userinput></screen>
+<screen os="k"><userinput>make</userinput></screen>
- <important>
+ <important os="l">
<para>In this section, the test suite for Glibc is considered critical.
Do not skip it under any circumstance.</para>
</important>
- <para>Test the results:</para>
+ <para os="m">Test the results:</para>
-<screen><userinput>make check</userinput></screen>
+<screen os="n"><userinput>make check</userinput></screen>
- <para>The Glibc test suite is highly dependent on certain functions of
+ <para os="o">The Glibc test suite is highly dependent on certain functions
of
the host system, in particular the kernel. In general, the Glibc test
suite is always expected to pass. However, in certain circumstances,
some failures are unavoidable. This is a list of the most common
issues:</para>
- <itemizedlist>
+ <itemizedlist os="p">
<listitem>
<para>The <emphasis>math</emphasis> tests sometimes fail when running
on systems where the CPU is not a relatively new genuine Intel or
@@ -136,33 +136,29 @@
</listitem>
</itemizedlist>
- <para>Though it is a harmless message, the install stage of Glibc will
+ <para os="q">Though it is a harmless message, the install stage of Glibc
will
complain about the absence of <filename>/etc/ld.so.conf</filename>.
Prevent this warning with:</para>
-<screen><userinput>touch /etc/ld.so.conf</userinput></screen>
+<screen os="r"><userinput>touch /etc/ld.so.conf</userinput></screen>
- <para>Install the package:</para>
+ <para os="s">Install the package:</para>
-<screen><userinput>make install</userinput></screen>
+<screen os="t"><userinput>make install</userinput></screen>
- <para>Build the linuxthreads man pages, which are a great reference
+ <para os="u">Build the linuxthreads man pages, which are a great reference
on the threading API (applicable to NPTL as well):</para>
- <para/>
-
- <para>Unpack the glibc-linuxthreads-&glibc-version; tarball—it
+ <para os="v">Unpack the glibc-linuxthreads-&glibc-version; tarball—it
is needed for the next two make commands. You can ignore this if you do
want the threading API man pages.</para>
-<screen><userinput>make -C
../glibc-&glibc-version;/linuxthreads/man</userinput></screen>
+<screen os="w"><userinput>make -C
../glibc-&glibc-version;/linuxthreads/man</userinput></screen>
- <para>Install these pages:</para>
+ <para os="x">Install these pages:</para>
-<screen><userinput>make -C ../glibc-&glibc-version;/linuxthreads/man
install</userinput></screen>
+<screen os="y"><userinput>make -C ../glibc-&glibc-version;/linuxthreads/man
install</userinput></screen>
- <para/>
-
</sect2>
<sect2 id="i18n-glibc" role="configuration">
Modified: branches/cross-lfs/BOOK/final-system/x86_64/glibc-64bit.xml
===================================================================
--- branches/cross-lfs/BOOK/final-system/x86_64/glibc-64bit.xml 2005-07-31
05:29:57 UTC (rev 6608)
+++ branches/cross-lfs/BOOK/final-system/x86_64/glibc-64bit.xml 2005-07-31
13:15:35 UTC (rev 6609)
@@ -20,10 +20,9 @@
<sect2 id="package-glibc" role="package">
<title/>
- <para>The Glibc package contains the main C library. This library provides
- the basic routines for allocating memory, searching directories, opening
and
- closing files, reading and writing files, string handling, pattern
matching,
- arithmetic, and so on.</para>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(id('package-glibc')/para[1])"/>
<segmentedlist>
<segtitle>&buildtime;</segtitle>
@@ -35,39 +34,47 @@
</seglistitem>
</segmentedlist>
- <segmentedlist>
- <segtitle>&dependencies;</segtitle>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(id('package-glibc')/segmentedlist[2])"/>
- <seglistitem>
- <seg>Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Gettext,
- Grep, Make, Perl, Sed, and Texinfo</seg>
- </seglistitem>
- </segmentedlist>
-
</sect2>
<sect2 id="install-glibc" role="installation">
<title>Installation of Glibc</title>
- <para>This package is known to behave badly when you change its default
- optimization flags (including the <option>-march</option> and
- <option>-mcpu</option> options). Therefore, if you have defined any
- environment variables that override default optimizations, such as CFLAGS
- and CXXFLAGS, we recommend un-setting them when building Glibc.</para>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86_64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'a'])"/>
- <para>The Glibc build system is self-contained and will install
- perfectly, even though the compiler specs file and linker are still
- pointing at <filename class="directory">/tools</filename>. The specs
- and linker cannot be adjusted before the Glibc install because the
- Glibc autoconf tests would give false results and defeat the goal
- of achieving a clean build.</para>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86_64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'b'])"/>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86_64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'c'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86_64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'d'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86_64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'e'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86_64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'f'])"/>
+
<para>Now we make sure the Glibc goes into
<filename class="directory">/lib64</filename>:</para>
<screen><userinput>echo "slibdir=/lib64" >>
configparms</userinput></screen>
- <para>Next, prepare Glibc for compilation:</para>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'g'])"/>
<screen><userinput>CC="gcc ${BUILD64}" CXX="gcc ${BUILD64}" \
../glibc-&glibc-version;/configure --prefix=/usr \
@@ -78,207 +85,74 @@
<title>The meaning of the new configure option:</title>
<varlistentry>
- <term><parameter>--libexecdir=/usr/lib/glibc</parameter></term>
+ <term><parameter>--libexecdir=/usr/lib64/glibc</parameter></term>
<listitem>
<para>This changes the location of the <command>pt_chown</command>
program from its default of <filename
class="directory">/usr/libexec</filename> to <filename
- class="directory">/usr/lib/glibc</filename>.</para>
+ class="directory">/usr/lib64/glibc</filename>.</para>
</listitem>
</varlistentry>
</variablelist>
- <para>Compile the package:</para>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86_64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'j'])"/>
-<screen><userinput>make</userinput></screen>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86_64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'k'])"/>
- <important>
- <para>In this section, the test suite for Glibc is considered critical.
- Do not skip it under any circumstance.</para>
- </important>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86_64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'l'])"/>
- <para>Test the results:</para>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86_64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'m'])"/>
-<screen><userinput>make check</userinput></screen>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86_64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'n'])"/>
- <para>The Glibc test suite is highly dependent on certain functions of
- the host system, in particular the kernel. In general, the Glibc test
- suite is always expected to pass. However, in certain circumstances,
- some failures are unavoidable. This is a list of the most common
- issues:</para>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86_64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'s'])"/>
- <itemizedlist>
- <listitem>
- <para>The <emphasis>math</emphasis> tests sometimes fail when running
- on systems where the CPU is not a relatively new genuine Intel or
- authentic AMD. Certain optimization settings are also known to be a
- factor here.</para>
- </listitem>
- <listitem>
- <para>The <emphasis>gettext</emphasis> test sometimes fails due to
- host system issues. The exact reasons are not yet clear.</para>
- </listitem>
- <listitem>
- <para>If you have mounted the LFS partition with the
- <parameter>noatime</parameter> option, the <emphasis>atime</emphasis>
test
- will fail. As mentioned in <xref linkend="ch-partitioning-mounting"/>,
- do not use the <parameter>noatime</parameter> option while building
- LFS.</para>
- </listitem>
- <listitem>
- <para>When running on older and slower hardware, some tests
- can fail because of test timeouts being exceeded.</para>
- </listitem>
- </itemizedlist>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86_64/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'t'])"/>
- <para>Though it is a harmless message, the install stage of Glibc will
- complain about the absence of <filename>/etc/ld.so.conf</filename>.
- Prevent this warning with:</para>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'u'])"/>
-<screen><userinput>touch /etc/ld.so.conf</userinput></screen>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'v'])"/>
- <para>Install the package:</para>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'w'])"/>
-<screen><userinput>make install</userinput></screen>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'x'])"/>
- <para>Build the linuxthreads man pages, which are a great reference
- on the threading API (applicable to NPTL as well):</para>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'y'])"/>
- <para/>
-
- <para>Unpack the glibc-linuxthreads-&glibc-version; tarball—it
- is needed for the next two make commands. You can ignore this if you do
- want the threading API man pages.</para>
-
-<screen><userinput>make -C
../glibc-&glibc-version;/linuxthreads/man</userinput></screen>
-
- <para>Install these pages:</para>
-
-<screen><userinput>make -C ../glibc-&glibc-version;/linuxthreads/man
install</userinput></screen>
-
- <para/>
-
</sect2>
- <sect2 id="i18n-glibc" role="configuration">
- <title>Internationalization</title>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(id('i18n-glibc'))"/>
- <para>The locales that can make the system respond in a different
- language were not installed by the above command. Install this
- with:</para>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(id('conf-glibc'))"/>
-<screen><userinput>make localedata/install-locales</userinput></screen>
-
- <para>To save time, an alternative to running the previous command (which
- generates and installs every locale Glibc is aware of) is to install only
- those locales that are wanted and needed. This can be achieved by using
- the <command>localedef</command> command. Information on this command is
- located in the <filename>INSTALL</filename> file in the Glibc source.
- However, there are a number of locales that are essential in order for the
- tests of future packages to pass, in particular, the
- <emphasis>libstdc++</emphasis> tests from GCC. The following instructions,
- instead of the <parameter>install-locales</parameter> target used above,
- will install the minimum set of locales necessary for the tests to run
- successfully:</para>
-
-<screen><userinput>mkdir -p /usr/lib/locale
-localedef -i de_DE -f ISO-8859-1 de_DE
-localedef -i [EMAIL PROTECTED] -f ISO-8859-15 [EMAIL PROTECTED]
-localedef -i en_HK -f ISO-8859-1 en_HK
-localedef -i en_PH -f ISO-8859-1 en_PH
-localedef -i en_US -f ISO-8859-1 en_US
-localedef -i es_MX -f ISO-8859-1 es_MX
-localedef -i fa_IR -f UTF-8 fa_IR
-localedef -i fr_FR -f ISO-8859-1 fr_FR
-localedef -i [EMAIL PROTECTED] -f ISO-8859-15 [EMAIL PROTECTED]
-localedef -i it_IT -f ISO-8859-1 it_IT
-localedef -i ja_JP -f EUC-JP ja_JP</userinput></screen>
-
- <para>Some locales installed by the <command>make
- localedata/install-locales</command> command above are not properly
- supported by some applications that are in the LFS and BLFS books. Because
- of the various problems that arise due to application programmers making
- assumptions that break in such locales, LFS should not be used in locales
- that utilize multibyte character sets (including UTF-8) or right-to-left
- writing order. Numerous unofficial and unstable patches are required to
- fix these problems, and it has been decided by the LFS developers not to
- support such complex locales. This applies to the ja_JP and fa_IR locales
- as well—they have been installed only for GCC and Gettext tests to
- pass, and the <command>watch</command> program (part of the Procps package)
- does not work properly in them. Various attempts to circumvent these
- restrictions are documented in internationalization-related hints.</para>
-
- </sect2>
-
- <sect2 id="conf-glibc" role="configuration">
- <title>Configuring Glibc</title>
-
- <indexterm zone="conf-glibc">
- <primary sortas="e-/etc/nsswitch.conf">/etc/nsswitch.conf</primary>
- </indexterm>
-
- <indexterm zone="conf-glibc">
- <primary sortas="e-/etc/localtime">/etc/localtime</primary>
- </indexterm>
-
- <para>The <filename>/etc/nsswitch.conf</filename> file needs to be created
- because, although Glibc provides defaults when this file is missing or
- corrupt, the Glibc defaults do not work well in a networked environment.
- The time zone also needs to be configured.</para>
-
- <para>Create a new file <filename>/etc/nsswitch.conf</filename> by running
- the following:</para>
-
-<screen><userinput>cat > /etc/nsswitch.conf << "EOF"
-<literal># Begin /etc/nsswitch.conf
-
-passwd: files
-group: files
-shadow: files
-
-hosts: files dns
-networks: files
-
-protocols: files
-services: files
-ethers: files
-rpc: files
-
-# End /etc/nsswitch.conf</literal>
-EOF</userinput></screen>
-
- <para>To determine the local time zone, run the following script:</para>
-
-<screen><userinput>tzselect</userinput></screen>
-
- <para>After answering a few questions about the location, the script will
- output the name of the time zone (e.g., <emphasis>EST5EDT</emphasis> or
- <emphasis>Canada/Eastern</emphasis>). Then create the
- <filename>/etc/localtime</filename> file by running:</para>
-
-<screen><userinput>cp --remove-destination
/usr/share/zoneinfo/<replaceable>[xxx]</replaceable> \
- /etc/localtime</userinput></screen>
-
- <para>Replace <replaceable>[xxx]</replaceable> with the name of the time
zone
- that <command>tzselect</command> provided (e.g., Canada/Eastern).</para>
-
- <variablelist>
- <title>The meaning of the cp option:</title>
-
- <varlistentry>
- <term><parameter>--remove-destination</parameter></term>
- <listitem>
- <para>This is needed to force removal of the already existing
symbolic
- link. The reason for copying the file instead of using a symlink is
to
- cover the situation where <filename class="directory">/usr</filename>
- is on a separate partition. This could be important when booted into
- single user mode.</para>
- </listitem>
- </varlistentry>
- </variablelist>
-
- </sect2>
-
<sect2 id="conf-ld" role="configuration">
<title>Configuring Dynamic Loader</title>
@@ -298,8 +172,8 @@
known to contain additional libraries are
<filename class="directory">/usr/local/lib</filename>,
<filename class="directory">/usr/local/lib64</filename>,
- <filename class="directory">/opt/lib</filename>,
- and <filename class="directory">/opt/lib64</filename>,
+ <filename class="directory">/opt/lib</filename>,
+ and <filename class="directory">/opt/lib64</filename>,
so add those directories to the dynamic loader's search path.</para>
<para>Create a new file <filename>/etc/ld.so.conf</filename> by running the
Modified: branches/cross-lfs/BOOK/final-system/x86_64/glibc.xml
===================================================================
--- branches/cross-lfs/BOOK/final-system/x86_64/glibc.xml 2005-07-31
05:29:57 UTC (rev 6608)
+++ branches/cross-lfs/BOOK/final-system/x86_64/glibc.xml 2005-07-31
13:15:35 UTC (rev 6609)
@@ -45,8 +45,32 @@
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../x86/glibc.xml"
-
xpointer="xpointer(id('install-glibc')/para[1]/range-to(id('install-glibc')/para[5]))"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'a'])"/>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'b'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'c'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'d'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'e'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'f'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'g'])"/>
+
<screen><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
../glibc-&glibc-version;/configure --prefix=/usr \
--disable-profile --enable-add-ons --enable-kernel=2.6.0 \
@@ -54,12 +78,52 @@
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../x86/glibc.xml"
-
xpointer="xpointer(id('install-glibc')/variablelist[1]/range-to(id('install-glibc')/para[12]))"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'i'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../x86/glibc.xml"
-
xpointer="xpointer(id('install-glibc')/screen[8]/range-to(id('install-glibc')/para[last()]))"/>
+ xpointer="xpointer(//[EMAIL PROTECTED]'j'])"/>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'k'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'l'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'m'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'n'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'o'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'p'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'q'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'r'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'s'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../x86/glibc.xml"
+ xpointer="xpointer(//[EMAIL PROTECTED]'t'])"/>
+
</sect2>
<sect2 role="content">
Modified: branches/cross-lfs/BOOK/general.ent
===================================================================
--- branches/cross-lfs/BOOK/general.ent 2005-07-31 05:29:57 UTC (rev 6608)
+++ branches/cross-lfs/BOOK/general.ent 2005-07-31 13:15:35 UTC (rev 6609)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<!ENTITY version "7.0-cross-lfs-20050730">
+<!ENTITY version "7.0-cross-lfs-20050731">
<!ENTITY version-x86 "&version;-x86">
<!ENTITY version-x86_64 "&version;-x86_64">
<!ENTITY version-ppc "&version;-PowerPC">
@@ -8,7 +8,7 @@
<!ENTITY version-mips "&version;-MIPS">
<!ENTITY version-mips64 "&version;-MIPS64">
-<!ENTITY releasedate "July 30, 2005">
+<!ENTITY releasedate "July 31, 2005">
<!ENTITY milestone "7.0">
<!ENTITY generic-version "svn"> <!-- Use "svn", "testing", or "x.y[-pre{x}]"
-->
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page