Author: manuel
Date: 2005-06-03 12:59:46 -0600 (Fri, 03 Jun 2005)
New Revision: 5635
Modified:
branches/cross-lfs/BOOK/cross-tools/common/glibc-startfiles-linuxthreads.xml
Log:
Indented cross-tools/common/glibc-startfiles-linuxthreads.xml
Modified:
branches/cross-lfs/BOOK/cross-tools/common/glibc-startfiles-linuxthreads.xml
===================================================================
---
branches/cross-lfs/BOOK/cross-tools/common/glibc-startfiles-linuxthreads.xml
2005-06-03 18:47:40 UTC (rev 5634)
+++
branches/cross-lfs/BOOK/cross-tools/common/glibc-startfiles-linuxthreads.xml
2005-06-03 18:59:46 UTC (rev 5635)
@@ -1,5 +1,6 @@
<?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" [
+<!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">
<!ENTITY % patches-entities SYSTEM "../../patches.ent">
%general-entities;
@@ -7,43 +8,55 @@
]>
<sect1 id="ch-cross-tools-glibc-startfiles" role="wrap">
-<title>Glibc-&glibc-version; Startfiles</title>
-<?dbhtml filename="glibc-startfiles.html"?>
+ <?dbhtml filename="glibc-startfiles.html"?>
-<indexterm zone="ch-cross-tools-glibc-startfiles">
-<primary sortas="a-Glibc">Glibc</primary>
-<secondary>cross tools, startfiles</secondary></indexterm>
+ <title>Glibc-&glibc-version; Startfiles</title>
-<sect2 role="package"><title/>
-<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../../final-system/x86/glibc.xml"
xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
+ <indexterm zone="ch-cross-tools-glibc-startfiles">
+ <primary sortas="a-Glibc">Glibc</primary>
+ <secondary>cross tools, startfiles</secondary></indexterm>
-<segmentedlist>
-<segtitle>&buildtime;</segtitle>
-<segtitle>&diskspace;</segtitle>
-<seglistitem><seg>11.8 SBU</seg><seg>800 MB</seg></seglistitem>
-</segmentedlist>
+ <sect2 role="package">
+ <title/>
-<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../../final-system/x86/glibc.xml"
xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../../final-system/x86/glibc.xml"
+ xpointer="xpointer(id('package-glibc')/para[1])"/>
-</sect2>
+ <segmentedlist>
+ <segtitle>&buildtime;</segtitle>
+ <segtitle>&diskspace;</segtitle>
-<sect2 role="installation">
-<title>Installation of Glibc Startfiles</title>
+ <seglistitem>
+ <seg>Not checked yet</seg>
+ <seg>Not checked yet</seg>
+ </seglistitem>
+ </segmentedlist>
-<para>NPTL is not supported under this architecture, so we are going to
-remove the nptl directory from the Glibc source:</para>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../../final-system/x86/glibc.xml"
+ xpointer="xpointer(id('package-glibc')/segmentedlist[2])"/>
+ </sect2>
+
+ <sect2 role="installation">
+ <title>Installation of Glibc Startfiles</title>
+
+ <para>NPTL is not supported under this architecture, so we are going to
+ remove the nptl directory from the Glibc source:</para>
+
<screen><userinput>rm -rf nptl*</userinput></screen>
-<para>The Glibc documentation recommends building Glibc outside of the source
-directory in a dedicated build directory:</para>
+ <para>The Glibc documentation recommends building Glibc outside of
+ the source directory in a dedicated build directory:</para>
<screen><userinput>mkdir ../glibc-build
cd ../glibc-build</userinput></screen>
-<para>Next, prepare Glibc for compilation:</para>
+ <para>Next, prepare Glibc for compilation:</para>
-<para>To create Linuxthread Startfiles use the following configure line:</para>
+ <para>To create Linuxthread Startfiles use the following configure
+ line:</para>
<screen><userinput>CC="${LFS_TARGET}-gcc" AR="${LFS_TARGET}-ar" \
RANLIB="${LFS_TARGET}-ranlib" \
@@ -53,42 +66,56 @@
--enable-kernel=2.6.0 --with-binutils=/cross-tools/bin \
--with-headers=/tools/include</userinput></screen>
-<para>The meaning of the configure options:</para>
+ <variablelist>
+ <title>The meaning of the configure options:</title>
-<variablelist>
-<varlistentry>
-<term><parameter>--enable-kernel=2.6.0</parameter></term>
-<listitem><para>This tells Glibc to compile the library with support
-for 2.6.x Linux kernels.</para></listitem>
-</varlistentry>
+ <varlistentry>
+ <term><parameter>--enable-kernel=2.6.0</parameter></term>
+ <listitem>
+ <para>This tells Glibc to compile the library with support
+ for 2.6.x Linux kernels.</para>
+ </listitem>
+ </varlistentry>
-<varlistentry>
-<term><parameter>--with-binutils=/cross-tools/bin</parameter></term>
-<listitem><para>While not required, this switch ensures that there are
-no errors pertaining to which Binutils programs get used during the
-Glibc build.</para></listitem>
-</varlistentry>
+ <varlistentry>
+ <term><parameter>--with-binutils=/cross-tools/bin</parameter></term>
+ <listitem>
+ <para>While not required, this switch ensures that there are
+ no errors pertaining to which Binutils programs get used during
+ the Glibc build.</para>
+ </listitem>
+ </varlistentry>
-<varlistentry>
-<term><parameter>--with-headers=/tools/include</parameter></term>
-<listitem><para>This tells Glibc to compile itself against the headers recently
-installed to the tools directory, so that it knows exactly what features the
-kernel has and can optimize itself accordingly.</para></listitem>
-</varlistentry>
+ <varlistentry>
+ <term><parameter>--with-headers=/tools/include</parameter></term>
+ <listitem>
+ <para>This tells Glibc to compile itself against the headers
+ recently installed to the tools directory, so that it knows
+ exactly what features the kernel has and can optimize itself
+ accordingly.</para>
+ </listitem>
+ </varlistentry>
-</variablelist>
+ </variablelist>
-<para>Compile the package:</para>
+ <para>Compile the package:</para>
<screen><userinput>make csu/subdir_lib</userinput></screen>
-<para>Since we are only creating the glibc startfiles at this time
-we will need to manually copy files over.</para>
+ <para>Since we are only creating the Glibc startfiles at this time
+ we will need to manually copy files over.</para>
<screen><userinput>install -d /tools/lib
cp -fp csu/crt[i1n].o /tools/lib</userinput></screen>
-</sect2>
+ </sect2>
+ <sect2 role="content">
+ <title/>
+
+ <para>Details on this package are located in <xref
+ linkend="contents-glibc" role="."/></para>
+
+ </sect2>
+
</sect1>
-
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page