aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter05/glibc.xml17
-rw-r--r--chapter06/glibc.xml16
2 files changed, 16 insertions, 17 deletions
diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml
index b05a59cf1..de1458c2a 100644
--- a/chapter05/glibc.xml
+++ b/chapter05/glibc.xml
@@ -46,8 +46,8 @@ cd ../glibc-build</userinput></screen>
<screen><userinput>../glibc-&glibc-version;/configure --prefix=/tools \
--disable-profile --enable-add-ons=nptl --with-tls \
- --with-binutils=/tools/bin --without-gd --without-cvs \
- --with-headers=/tools/glibc-kernheaders</userinput></screen>
+ --with-__thread --enable-kernel=2.6.0 --with-binutils=/tools/bin \
+ --without-gd --without-cvs --with-headers=/tools/glibc-kernheaders</userinput></screen>
<para>The meaning of the configure options:</para>
@@ -72,6 +72,19 @@ This is required for NPTL to work. </para></listitem>
</varlistentry>
<varlistentry>
+<term><parameter>--with-__thread</parameter></term>
+<listitem><para>This tells Glibc to include thread support, this is for proper
+compiling of the thread-local storage.</para></listitem>
+</varlistentry>
+
+<varlistentry>
+<term><parameter>--enable-kernel=2.6.0</parameter></term>
+<listitem><para>This tells Glibc to compile the library for support of
+linux 2.6.x kernels.
+</para></listitem>
+</varlistentry>
+
+<varlistentry>
<term><parameter>--with-binutils=/tools/bin</parameter></term>
<listitem><para>Strictly speaking this switch is not required. But it does ensure
nothing can go wrong with regard to what Binutils programs get used during the
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml
index 0bb5e8cc5..c9d5e7f51 100644
--- a/chapter06/glibc.xml
+++ b/chapter06/glibc.xml
@@ -50,23 +50,9 @@ cd ../glibc-build</userinput></screen>
<screen><userinput>../glibc-&glibc-version;/configure --prefix=/usr \
--disable-profile --enable-add-ons=nptl --with-tls \
- --libexecdir=/tmp/pt_chown --without-cvs \
+ --with-__thread --enable-kernel=2.6.0 --without-cvs \
--with-headers=/tools/glibc-kernheaders</userinput></screen>
-<para>The meaning of the new configure options:</para>
-
-<variablelist>
-<varlistentry>
-<term><parameter>--libexecdir=/tmp/pt_chown</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">/tmp/pt_chown</filename>. This program isn't required
-on modern systems, so we install it in a place from which we will delete it
-later.</para></listitem>
-</varlistentry>
-</variablelist>
-
<para>Compile the package:</para>
<screen><userinput>make</userinput></screen>