浏览代码

Added descriptions to grep configure switches

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2795 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Jeremy Utley 22 年之前
父节点
当前提交
dac0f591d2
共有 2 个文件被更改,包括 14 次插入0 次删除
  1. 3 0
      chapter01/changelog.xml
  2. 11 0
      chapter05/grep-inst.xml

+ 3 - 0
chapter01/changelog.xml

@@ -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>

+ 11 - 0
chapter05/grep-inst.xml

@@ -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>