Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/temp-system/common/grep.xml

    re904ebfa rdabbced  
    2323    <title>Installation of Grep</title>
    2424
     25    <para os="t1">When Cross Compiling the configure script
     26    does not determine the correct values for the following,
     27    Set the values manually:</para>
     28
     29<screen os="t2"><userinput>cat &gt; config.cache &lt;&lt; EOF
     30ac_cv_func_malloc_0_nonnull=yes
     31ac_cv_func_realloc_0_nonnull=yes
     32EOF</userinput></screen>
     33
    2534    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    2635    href="../../final-system/common/grep.xml"
     
    2938<screen os="ca"><userinput>./configure --prefix=/tools \
    3039    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    31     --without-included-regex</userinput></screen>
     40    --disable-perl-regexp --without-included-regex \
     41    --cache-file=config.cache</userinput></screen>
    3242
    3343    <variablelist os="cb">
    34       <title>The meaning of the new configure option:</title>
     44      <title>The meaning of the configure options:</title>
    3545
    3646      <varlistentry>
    37         <term><parameter>--without-included-regex</parameter></term>
     47        <term><parameter>--disable-perl-regexp</parameter></term>
    3848        <listitem>
    39           <para>When cross-compiling, Grep's <command>configure</command>
    40           assumes there is no usable <filename>regex.h</filename> installed and
    41           instead uses the one included with Grep. This switch forces the use of
    42           the regex functions from EGLIBC.</para>
     49          <para>This ensures that the <command>grep</command> program
     50          does not get linked against a Perl Compatible Regular Expression
     51          (PCRE) library that may be present on the host but will not be
     52          available when building the final system.</para>
    4353        </listitem>
    4454      </varlistentry>
Note: See TracChangeset for help on using the changeset viewer.