Changeset efcb393 for chapter05/flex.xml


Ignore:
Timestamp:
05/03/2020 09:02:51 PM (21 months ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, cross-chap5, ml-11.0, multilib, trunk, xry111/git-transition, xry111/glibc-2.34, xry111/tester-nohack, xry111/usr-move
Children:
a715dec
Parents:
9d719e2
Message:

Make the new book

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross-chap5@11831 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/flex.xml

    r9d719e2 refcb393  
    4646    <para>Prepare Flex for compilation:</para>
    4747
    48 <screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
     48<screen><userinput remap="configure">./configure --prefix=/usr                     \
     49            --host=$LFS_TGT                   \
     50            --build=$(build-aux/config.guess) \
     51            --disable-bootstrap               \
     52            --docdir=/usr/share/doc/flex-&flex-version;</userinput></screen>
     53
     54    <variablelist>
     55      <title>The meaning of the new configure option:</title>
     56
     57      <varlistentry>
     58        <term><parameter>--disable-bootstrap</parameter></term>
     59        <listitem>
     60          <para>Normally, building flex is done in two stages. A first
     61          programs, which is used to generate the source of a second one,
     62          which is then compiled. When using cross-compilation, the first
     63          program is generated on the build systemd. However, due to a bug
     64          in configure, the presence of some funciton is tested only on the
     65          host system. If this function is not found on the build system, the
     66          build fails. This can be prevented by disabling the two stage
     67          build.</para>
     68        </listitem>
     69      </varlistentry>
     70    </variablelist>
    4971
    5072    <para>Compile the package:</para>
     
    5274<screen><userinput remap="make">make</userinput></screen>
    5375
    54     <para>To test the results, issue:</para>
    55 
    56 <screen><userinput remap="test">make check</userinput></screen>
    57 
    5876    <para>Install the package:</para>
    5977
    60 <screen><userinput remap="install">make install</userinput></screen>
     78<screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen>
    6179
    6280  </sect2>
Note: See TracChangeset for help on using the changeset viewer.