- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/temp-system/common/grep.xml
re904ebfa rdabbced 23 23 <title>Installation of Grep</title> 24 24 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 > config.cache << EOF 30 ac_cv_func_malloc_0_nonnull=yes 31 ac_cv_func_realloc_0_nonnull=yes 32 EOF</userinput></screen> 33 25 34 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 35 href="../../final-system/common/grep.xml" … … 29 38 <screen os="ca"><userinput>./configure --prefix=/tools \ 30 39 --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> 32 42 33 43 <variablelist os="cb"> 34 <title>The meaning of the new configure option:</title>44 <title>The meaning of the configure options:</title> 35 45 36 46 <varlistentry> 37 <term><parameter>-- without-included-regex</parameter></term>47 <term><parameter>--disable-perl-regexp</parameter></term> 38 48 <listitem> 39 <para> When cross-compiling, Grep's <command>configure</command>40 assumes there is no usable <filename>regex.h</filename> installed and41 instead uses the one included with Grep. This switch forces the use of42 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> 43 53 </listitem> 44 54 </varlistentry>
Note:
See TracChangeset
for help on using the changeset viewer.