[Clfs-commits] commit: r3931 - in /trunk/BOOK: introduction/common/changelog.xml temp-system/common/coreutils.xml temp-system/multilib/coreutils.xml

svn at cross-lfs.org svn at cross-lfs.org
Sat Jun 28 11:50:17 PDT 2008


Author: jciccone
Date: Sat Jun 28 18:50:17 2008
New Revision: 3931

Log:
Add a config.cache entry to Coreutils so that the df program will be built.

Modified:
    trunk/BOOK/introduction/common/changelog.xml
    trunk/BOOK/temp-system/common/coreutils.xml
    trunk/BOOK/temp-system/multilib/coreutils.xml

Modified: trunk/BOOK/introduction/common/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/common/changelog.xml (original)
+++ trunk/BOOK/introduction/common/changelog.xml Sat Jun 28 18:50:17 2008
@@ -39,6 +39,10 @@
     <listitem>
       <para>June 28, 2008</para>
       <itemizedlist>
+        </listitem>
+          <para>[jciccone] - Add a config.cache entry to Coreutils so that the
+          <command>df</command> program will be built</para>
+        </listitem>
         <listitem>
           <para>[jciccone] - Fixed descriptions for lib64= in procps on the
           various multilib pages.</para>

Modified: trunk/BOOK/temp-system/common/coreutils.xml
==============================================================================
--- trunk/BOOK/temp-system/common/coreutils.xml (original)
+++ trunk/BOOK/temp-system/common/coreutils.xml Sat Jun 28 18:50:17 2008
@@ -30,10 +30,18 @@
     href="../../final-system/common/coreutils.xml"
     xpointer="xpointer(//*[@os='s2'])"/>
 
+    <para os="ba">Configure can not properly determine how to get free space
+    when cross-compiling, Without putting the following entry into
+    <filename>config.cache</filename> the <command>df</command> program will
+    not be built.</para>
+
+<screen os="bb"><userinput>echo "fu_cv_sys_stat_statfs2_bsize=yes" > config.cache</userinput></screen>
+
     <para os="bd">Prepare Coreutils for compilation:</para>
 
 <screen os="be"><userinput>./configure --prefix=/tools \
-    --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
+    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
+    --cache-file=config.cache</userinput></screen>
 
     <para os="m1">When we changed the futimens references, one of the files we
     updated was touch.c. That change means the

Modified: trunk/BOOK/temp-system/multilib/coreutils.xml
==============================================================================
--- trunk/BOOK/temp-system/multilib/coreutils.xml (original)
+++ trunk/BOOK/temp-system/multilib/coreutils.xml Sat Jun 28 18:50:17 2008
@@ -32,10 +32,19 @@
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../common/coreutils.xml"
+    xpointer="xpointer(//*[@os='ba'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/coreutils.xml"
+    xpointer="xpointer(//*[@os='bb'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/coreutils.xml"
     xpointer="xpointer(//*[@os='bd'])"/>
 
 <screen os="be"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
-   --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
+    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
+    --cache-file=config.cache</userinput></screen>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../common/coreutils.xml"




More information about the Clfs-commits mailing list