r5334 - in branches/cross-lfs/BOOK/temp-system: . multilib

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Fri May 13 10:17:33 PDT 2005


Author: jhuntwork
Date: 2005-05-13 11:17:32 -0600 (Fri, 13 May 2005)
New Revision: 5334

Added:
   branches/cross-lfs/BOOK/temp-system/multilib/findutils.xml
Modified:
   branches/cross-lfs/BOOK/temp-system/sparc64-chapter.xml
Log:
Added findutils instructions to multilib in temp-system

Copied: branches/cross-lfs/BOOK/temp-system/multilib/findutils.xml (from rev 5331, branches/cross-lfs/BOOK/temp-system/common/findutils.xml)
===================================================================
--- branches/cross-lfs/BOOK/temp-system/common/findutils.xml	2005-05-13 16:52:55 UTC (rev 5331)
+++ branches/cross-lfs/BOOK/temp-system/multilib/findutils.xml	2005-05-13 17:17:32 UTC (rev 5334)
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../../patches.ent">
+  %general-entities;
+  %patches-entities;
+]>
+
+<sect1 id="ch-temp-system-findutils" role="wrap">
+<title>Findutils-&findutils-version;</title>
+<?dbhtml filename="findutils.html"?>
+
+<indexterm zone="ch-temp-system-findutils">
+<primary sortas="a-Findutils">Findutils</primary>
+<secondary>temporary system</secondary></indexterm>
+
+<sect2 role="package"><title/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../final-system/common/findutils.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
+
+<segmentedlist>
+<segtitle>&buildtime;</segtitle>
+<segtitle>&diskspace;</segtitle>
+<seglistitem><seg>0.2 SBU</seg><seg>7.6 MB</seg></seglistitem>
+</segmentedlist>
+
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../final-system/common/findutils.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
+
+</sect2>
+
+<sect2 role="installation">
+<title>Installation of Findutils</title>
+
+<para>Findutils has an issue with cross-compiling where it
+can't find getline. So we fix it here:</para>
+
+<screen><userinput>echo "am_cv_func_working_getline=yes" >> config.cache</userinput></screen>
+
+<para>Prepare Findutils for compilation:</para>
+
+<screen><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
+   --host=${LFS_TARGET} --cache-file=config.cache</userinput></screen>
+
+<para>Compile the package:</para>
+
+<screen><userinput>make LDFLAGS="-s"</userinput></screen>
+
+<para>Install the package:</para>
+
+<screen><userinput>make install</userinput></screen>
+
+</sect2>
+
+<sect2 role="content"><title/>
+<para>Details on this package are located in <xref
+linkend="contents-findutils" role="."/></para>
+</sect2>
+
+</sect1>
+

Modified: branches/cross-lfs/BOOK/temp-system/sparc64-chapter.xml
===================================================================
--- branches/cross-lfs/BOOK/temp-system/sparc64-chapter.xml	2005-05-13 17:08:27 UTC (rev 5333)
+++ branches/cross-lfs/BOOK/temp-system/sparc64-chapter.xml	2005-05-13 17:17:32 UTC (rev 5334)
@@ -20,7 +20,7 @@
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/bzip2-64bit.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gzip.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/diffutils.xml"/>
-<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/findutils.xml"/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/findutils.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/m4.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/bison.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/flex.xml"/>




More information about the lfs-book mailing list