diff options
Diffstat (limited to 'chapter05')
-rw-r--r-- | chapter05/glibc.xml | 17 |
1 files changed, 15 insertions, 2 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 |