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

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Fri May 13 11:50:13 PDT 2005


Author: jhuntwork
Date: 2005-05-13 12:50:11 -0600 (Fri, 13 May 2005)
New Revision: 5348

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

Copied: branches/cross-lfs/BOOK/temp-system/multilib/tar.xml (from rev 5331, branches/cross-lfs/BOOK/temp-system/common/tar.xml)
===================================================================
--- branches/cross-lfs/BOOK/temp-system/common/tar.xml	2005-05-13 16:52:55 UTC (rev 5331)
+++ branches/cross-lfs/BOOK/temp-system/multilib/tar.xml	2005-05-13 18:50:11 UTC (rev 5348)
@@ -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-tar" role="wrap">
+<title>Tar-&tar-version;</title>
+<?dbhtml filename="tar.html"?>
+
+<indexterm zone="ch-temp-system-tar">
+<primary sortas="a-Tar">Tar</primary>
+<secondary>temporary system</secondary></indexterm>
+
+<sect2 role="package"><title/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../final-system/common/tar.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
+
+<segmentedlist>
+<segtitle>&buildtime;</segtitle>
+<segtitle>&diskspace;</segtitle>
+<seglistitem><seg>0.2 SBU</seg><seg>10 MB</seg></seglistitem>
+</segmentedlist>
+
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../final-system/common/tar.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
+
+</sect2>
+
+<sect2 role="installation">
+<title>Installation of Tar</title>
+
+<para>Tar 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 Tar 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-tar" 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 18:45:55 UTC (rev 5347)
+++ branches/cross-lfs/BOOK/temp-system/sparc64-chapter.xml	2005-05-13 18:50:11 UTC (rev 5348)
@@ -32,7 +32,7 @@
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/ncurses.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/ncurses-64bit.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/patch.xml"/>
-<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/tar.xml"/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/tar.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/bash.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/choose.xml"/>
 




More information about the lfs-book mailing list