Procházet zdrojové kódy

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
Jim Gifford před 21 roky
rodič
revize
7e2b777256
2 změnil soubory, kde provedl 16 přidání a 17 odebrání
  1. 15 2
      chapter05/glibc.xml
  2. 1 15
      chapter06/glibc.xml

+ 15 - 2
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>
 
@@ -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 

+ 1 - 15
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>