aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Gifford <jim@linuxfromscratch.org>2004-07-30 23:25:18 +0000
committerJim Gifford <jim@linuxfromscratch.org>2004-07-30 23:25:18 +0000
commit7e2b777256e60c69348004b7cef4ebf072daba57 (patch)
treefe8fff1014bbc4d040d8fdb1bd4aa762a47a743f
parent5c67cae389653d16af00898a0eb069ff71d461d9 (diff)
Updated glibc instructions to include --with-__thread for TLS, --enable-kernel=2.6.0 for 2.6.x kernel support, and added pt_chown for Unix 98 pty support
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3973 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-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>