diff options
author | Pierre Labastie <pieere@linuxfromscratch.org> | 2020-06-19 08:13:06 +0000 |
---|---|---|
committer | Pierre Labastie <pieere@linuxfromscratch.org> | 2020-06-19 08:13:06 +0000 |
commit | c68e018aab617dab8619f4c5d4c62dcd22c3438c (patch) | |
tree | cec90ca77e79adcfb31a8809f45511b3aef4e05f /chapter08/glibc.xml | |
parent | 8072d3da7696d50bc0535ca188d892dc12ed1dab (diff) |
Various text fixes:
- a wrong chapter in toolchain notes, and various text precisions
the option explanations of chapter 8 glibc (was labelled WIP)
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11961 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter08/glibc.xml')
-rw-r--r-- | chapter08/glibc.xml | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/chapter08/glibc.xml b/chapter08/glibc.xml index ed928741a..be2de9dca 100644 --- a/chapter08/glibc.xml +++ b/chapter08/glibc.xml @@ -65,27 +65,24 @@ cd build</userinput></screen> --with-headers=/usr/include \ libc_cv_slibdir=/lib</userinput></screen> - <!-- WIP --> <variablelist> - <title>The meaning of the options and new configure parameters:</title> -<!-- + <title>The meaning of the configure options:</title> + <varlistentry> - <term><parameter>CC="gcc -ffile-prefix-map=$LFS_DIR=$DIR"</parameter></term> + <term><parameter>--disable-werror</parameter></term> <listitem> - <para>Make GCC record any references to files in <filename - class="directory">/usr/lib/gcc/x86_64-lfs-linux-gnu</filename> - in result of the compilation as if the files resided in <filename - class="directory">/usr/lib/gcc/x86_64-pc-linux-gnu</filename>. - This avoids introduction of invalid paths in debugging - symbols.</para> + <para>This option disables the -Werror option passed to + GCC. This is necessary for running the test suite.</para> </listitem> </varlistentry> ---> + <varlistentry> - <term><parameter>--disable-werror</parameter></term> + <term><parameter>--enable-kernel=&min-kernel;</parameter></term> <listitem> - <para>This option disables the -Werror option passed to - GCC. This is necessary for running the test suite.</para> + <para>This option tells the build system that this glibc may + be used with kernels as old as &min-kernel;. This means generating + workarounds in case a system call introduced in a later version + cannot be used.</para> </listitem> </varlistentry> |