Added descriptions to grep configure switches

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2795 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Jeremy Utley 2003-09-12 23:16:54 +00:00
parent 9b21339cc6
commit dac0f591d2
2 changed files with 14 additions and 0 deletions

View File

@ -87,6 +87,9 @@
</itemizedlist>
</para></listitem>
<listitem><para>September 12th, 2003 [jeremy]: Chapter 5 - Grep: Added
descriptions of configure switches courtesy of Anderson Lizardo</para></listitem>
<listitem><para>September 12th, 2003 [gerard]: Removed /usr/lib/locale
directory creation - it's created during Chapter 6 - Glibc where it's more
relevant.</para></listitem>

View File

@ -8,6 +8,17 @@
<para><screen><userinput>./configure --prefix=/tools \
&nbsp;&nbsp;&nbsp;&nbsp;--disable-perl-regexp --with-included-regex</userinput></screen></para>
<para>The meaning of the configure switches:</para>
<itemizedlist>
<listitem><para><userinput>--disable-perl-regexp</userinput>: This makes sure
that grep does not get linked against a PCRE library that may be present on
the host, but would not be available once we enter the chroot environment.</para></listitem>
<listitem><para><userinput>--with-included-regex</userinput>: This ensures that
grep uses it's internal regular expression code. Without it, it will use
the code from glibc, which is known to be slightly buggy.</para></listitem>
</itemizedlist>
<para>Compile the programs:</para>
<para><screen><userinput>make </userinput></screen></para>