|
@@ -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>
|
|
|
|
|
@@ -71,6 +71,19 @@ library.</para></listitem>
|
|
|
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
|