Author: pierre
Date: Wed May  6 06:04:34 2020
New Revision: 11838

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

Modified:
   branches/cross-chap5/chapter05/bison.xml
   branches/cross-chap5/chapter05/chapter05.xml
   branches/cross-chap5/chapter05/flex.xml

Modified: branches/cross-chap5/chapter05/bison.xml
==============================================================================
--- branches/cross-chap5/chapter05/bison.xml    Wed May  6 06:02:47 2020        
(r11837)
+++ branches/cross-chap5/chapter05/bison.xml    Wed May  6 06:04:34 2020        
(r11838)
@@ -46,8 +46,6 @@
     <para>Prepare Bison for compilation:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/usr                 
    \
-            --build=$(build-aux/config.guess) \
-            --host=$LFS_TGT                   \
             --docdir=/usr/share/doc/bison-&bison-version;</userinput></screen>
 
     <variablelist>
@@ -69,7 +67,7 @@
 
     <para>Install the package:</para>
 
-<screen><userinput remap="install">make DESTDIR=$LFS 
install</userinput></screen>
+<screen><userinput remap="install">make install</userinput></screen>
 
   </sect2>
 

Modified: branches/cross-chap5/chapter05/chapter05.xml
==============================================================================
--- branches/cross-chap5/chapter05/chapter05.xml        Wed May  6 06:02:47 
2020        (r11837)
+++ branches/cross-chap5/chapter05/chapter05.xml        Wed May  6 06:04:34 
2020        (r11838)
@@ -22,8 +22,6 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="m4.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="ncurses.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="bash.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="bison.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="flex.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="bzip2.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="coreutils.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="diffutils.xml"/>
@@ -46,6 +44,8 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="creatingdirs.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="createfiles.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="libstdc++-pass2.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="bison.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="flex.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="gettext.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="perl.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="python.xml"/>

Modified: branches/cross-chap5/chapter05/flex.xml
==============================================================================
--- branches/cross-chap5/chapter05/flex.xml     Wed May  6 06:02:47 2020        
(r11837)
+++ branches/cross-chap5/chapter05/flex.xml     Wed May  6 06:04:34 2020        
(r11838)
@@ -46,36 +46,34 @@
     <para>Prepare Flex for compilation:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/usr                 
    \
-            --host=$LFS_TGT                   \
-            --build=$(build-aux/config.guess) \
-            --disable-bootstrap               \
             --docdir=/usr/share/doc/flex-&flex-version;</userinput></screen>
 
+    <!--
     <variablelist>
       <title>The meaning of the new configure option:</title>
 
       <varlistentry>
-        <term><parameter>--disable-bootstrap</parameter></term>
+        <term><parameter>- -disable-bootstrap</parameter></term>
        <listitem>
           <para>Normally, building flex is done in two stages. A first
          programs, which is used to generate the source of a second one,
          which is then compiled. When using cross-compilation, the first
-         program is generated on the build systemd. However, due to a bug
-         in configure, the presence of some funciton is tested only on the
+         program is generated on the build system. However, due to a bug
+         in configure, the presence of some function is tested only on the
          host system. If this function is not found on the build system, the
          build fails. This can be prevented by disabling the two stage
          build.</para>
        </listitem>
       </varlistentry>
     </variablelist>
-
+    -->
     <para>Compile the package:</para>
 
 <screen><userinput remap="make">make</userinput></screen>
 
     <para>Install the package:</para>
 
-<screen><userinput remap="install">make DESTDIR=$LFS 
install</userinput></screen>
+<screen><userinput remap="install">make install</userinput></screen>
 
   </sect2>
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to