diff options
author | Zack Winkles <winkie@linuxfromscratch.org> | 2004-05-03 21:28:58 +0000 |
---|---|---|
committer | Zack Winkles <winkie@linuxfromscratch.org> | 2004-05-03 21:28:58 +0000 |
commit | 9dfc02ff38f26117daffe7d8b822ebb64a3fed04 (patch) | |
tree | c3ea0521973ac75238f6ab5f674d5b4fc4032df8 /chapter06/glibc.xml | |
parent | 411ceb86b8150183a447f89b4789395bf16fddf0 (diff) |
Current BE-LFS (but w/ GCC 3.3.3) merged -> 6.0 branch
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3445 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/glibc.xml')
-rw-r--r-- | chapter06/glibc.xml | 33 |
1 files changed, 13 insertions, 20 deletions
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml index 59ecff6f9..9296458e5 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -42,28 +42,20 @@ cd ../glibc-build</userinput></screen> <para>Now prepare Glibc for compilation:</para> -<screen><userinput>../glibc-&glibc-version;-20031202/configure --prefix=/usr \ - --disable-profile --enable-add-ons=linuxthreads \ - --libexecdir=/usr/lib --with-headers=/usr/include \ - --without-cvs</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-headers=/tools/glibc-kernheaders</userinput></screen> <para>The meaning of the new configure options:</para> <itemizedlist> -<listitem><para><userinput>--libexecdir=/usr/lib</userinput>: This changes the -location of the <filename>pt_chown</filename> program from its default of +<listitem><para><userinput>--libexecdir=/tmp/pt_chown</userinput>: This changes +the location of the <filename>pt_chown</filename> program from its default of <filename class="directory">/usr/libexec</filename> to -<filename class="directory">/usr/lib</filename>. The use of -<emphasis>libexec</emphasis> is considered not to be FHS-compliant because the -FHS doesn't even mention it.</para></listitem> - -<listitem><para><userinput>--with-headers=/usr/include</userinput>: This -ensures that the kernel headers in <filename>/usr/include</filename> are used -for this build. If you don't pass this switch then the headers from -<filename>/tools/include</filename> are used which of course is not ideal -(although they should be identical). Using this switch has the advantage -that you will be informed immediately should you have forgotten to install the -kernel headers into <filename>/usr/include</filename>.</para></listitem> +<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> </itemizedlist> <para>Compile the package:</para> @@ -119,13 +111,14 @@ localedef -i fr_FR@euro -f ISO-8859-15 fr_FR@euro localedef -i it_IT -f ISO-8859-1 it_IT localedef -i ja_JP -f EUC-JP ja_JP</userinput></screen> -<para>Finally, build the linuxthreads man pages:</para> +<para>Finally, build the linuxthreads man pages, which are a great reference +on the threading API (applicable to NPTL as well):</para> -<screen><userinput>make -C ../glibc-&glibc-version;-20031202/linuxthreads/man</userinput></screen> +<screen><userinput>make -C ../glibc-&glibc-version;/linuxthreads/man</userinput></screen> <para>And install these pages:</para> -<screen><userinput>make -C ../glibc-&glibc-version;-20031202/linuxthreads/man install</userinput></screen> +<screen><userinput>make -C ../glibc-&glibc-version;/linuxthreads/man install</userinput></screen> </sect2> |