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

svn at cross-lfs.org svn at cross-lfs.org
Sun Oct 12 08:04:05 PDT 2008


Author: jciccone
Date: Sun Oct 12 15:04:05 2008
New Revision: 4049

Log:
Add a sed to coreutils to cause it to use the hosts install program instead of the one it just built.

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

Modified: trunk/BOOK/temp-system/common/coreutils.xml
==============================================================================
--- trunk/BOOK/temp-system/common/coreutils.xml (original)
+++ trunk/BOOK/temp-system/common/coreutils.xml Sun Oct 12 15:04:05 2008
@@ -29,6 +29,14 @@
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../../final-system/common/coreutils.xml"
     xpointer="xpointer(//*[@os='s2'])"/>
+
+    <para os="bs1">Coreutils attempts to use the <command>install</command>
+    program it just built to perform the install. This will not work if the
+    target architecture is incompatible with the host architecture. The
+    following command causes the Makefile to use the hosts
+    <command>install</command> to perform the install:</para>
+
+<screen os="bs2"><userinput>sed -i "/binPROGRAMS_INSTALL=/s:./ginstall:install:" src/Makefile.in</userinput></screen>
 
     <para os="ba">Configure can not properly determine how to get free space
     when cross-compiling, Without putting the following entry into

Modified: trunk/BOOK/temp-system/multilib/coreutils.xml
==============================================================================
--- trunk/BOOK/temp-system/multilib/coreutils.xml (original)
+++ trunk/BOOK/temp-system/multilib/coreutils.xml Sun Oct 12 15:04:05 2008
@@ -29,6 +29,14 @@
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../../final-system/common/coreutils.xml"
     xpointer="xpointer(//*[@os='s2'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/coreutils.xml"
+    xpointer="xpointer(//*[@os='bs1'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/coreutils.xml"
+    xpointer="xpointer(//*[@os='bs2'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../common/coreutils.xml"




More information about the Clfs-commits mailing list