Changeset c911069


Ignore:
Timestamp:
05/06/2020 01:04:34 PM (4 years 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, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
a97aa3d
Parents:
b454589
Message:

Move bison and flex to chroot, they do not need themselves for being built

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

Location:
chapter05
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chapter05/bison.xml

    rb454589 rc911069  
    4747
    4848<screen><userinput remap="configure">./configure --prefix=/usr                     \
    49             --build=$(build-aux/config.guess) \
    50             --host=$LFS_TGT                   \
    5149            --docdir=/usr/share/doc/bison-&bison-version;</userinput></screen>
    5250
     
    7068    <para>Install the package:</para>
    7169
    72 <screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen>
     70<screen><userinput remap="install">make install</userinput></screen>
    7371
    7472  </sect2>
  • chapter05/chapter05.xml

    rb454589 rc911069  
    2323  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ncurses.xml"/>
    2424  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bash.xml"/>
    25   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bison.xml"/>
    26   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="flex.xml"/>
    2725  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bzip2.xml"/>
    2826  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="coreutils.xml"/>
     
    4745  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="createfiles.xml"/>
    4846  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libstdc++-pass2.xml"/>
     47  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bison.xml"/>
     48  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="flex.xml"/>
    4949  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gettext.xml"/>
    5050  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="perl.xml"/>
  • chapter05/flex.xml

    rb454589 rc911069  
    4747
    4848<screen><userinput remap="configure">./configure --prefix=/usr                     \
    49             --host=$LFS_TGT                   \
    50             --build=$(build-aux/config.guess) \
    51             --disable-bootstrap               \
    5249            --docdir=/usr/share/doc/flex-&flex-version;</userinput></screen>
    5350
     51    <!--
    5452    <variablelist>
    5553      <title>The meaning of the new configure option:</title>
    5654
    5755      <varlistentry>
    58         <term><parameter>--disable-bootstrap</parameter></term>
     56        <term><parameter>- -disable-bootstrap</parameter></term>
    5957        <listitem>
    6058          <para>Normally, building flex is done in two stages. A first
    6159          programs, which is used to generate the source of a second one,
    6260          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
     61          program is generated on the build system. However, due to a bug
     62          in configure, the presence of some function is tested only on the
    6563          host system. If this function is not found on the build system, the
    6664          build fails. This can be prevented by disabling the two stage
     
    6967      </varlistentry>
    7068    </variablelist>
    71 
     69    -->
    7270    <para>Compile the package:</para>
    7371
     
    7674    <para>Install the package:</para>
    7775
    78 <screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen>
     76<screen><userinput remap="install">make install</userinput></screen>
    7977
    8078  </sect2>
Note: See TracChangeset for help on using the changeset viewer.