From 7e2b777256e60c69348004b7cef4ebf072daba57 Mon Sep 17 00:00:00 2001 From: Jim Gifford Date: Fri, 30 Jul 2004 23:25:18 +0000 Subject: 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 --- chapter05/glibc.xml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'chapter05/glibc.xml') 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 ../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 + --with-__thread --enable-kernel=2.6.0 --with-binutils=/tools/bin \ + --without-gd --without-cvs --with-headers=/tools/glibc-kernheaders The meaning of the configure options: @@ -71,6 +71,19 @@ library. This is required for NPTL to work. + +--with-__thread +This tells Glibc to include thread support, this is for proper +compiling of the thread-local storage. + + + +--enable-kernel=2.6.0 +This tells Glibc to compile the library for support of +linux 2.6.x kernels. + + + --with-binutils=/tools/bin Strictly speaking this switch is not required. But it does ensure -- cgit v1.2.3-54-g00ecf