Ignore:
Timestamp:
Dec 18, 2013, 1:04:00 AM (11 years ago)
Author:
Chris Staub <chris@…>
Children:
f975b3a
Parents:
1c9985f (diff), 8abef998 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Updated simp branch to match main book

File:
1 edited

Legend:

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

    r1c9985f r026bb5d  
    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
    30 ac_cv_func_malloc_0_nonnull=yes
    31 ac_cv_func_realloc_0_nonnull=yes
    32 EOF</userinput></screen>
    33 
    3425    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    3526    href="../../final-system/common/grep.xml"
     
    3829<screen os="ca"><userinput>./configure --prefix=/tools \
    3930    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    40     --disable-perl-regexp --without-included-regex \
    41     --cache-file=config.cache</userinput></screen>
     31    --without-included-regex</userinput></screen>
    4232
    4333    <variablelist os="cb">
    44       <title>The meaning of the configure options:</title>
     34      <title>The meaning of the new configure option:</title>
    4535
    4636      <varlistentry>
    47         <term><parameter>--disable-perl-regexp</parameter></term>
     37        <term><parameter>--without-included-regex</parameter></term>
    4838        <listitem>
    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>
     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>
    5343        </listitem>
    5444      </varlistentry>
Note: See TracChangeset for help on using the changeset viewer.