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

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Fri May 13 10:03:20 PDT 2005


Author: jhuntwork
Date: 2005-05-13 11:03:19 -0600 (Fri, 13 May 2005)
New Revision: 5332

Added:
   branches/cross-lfs/BOOK/temp-system/multilib/gzip.xml
Modified:
   branches/cross-lfs/BOOK/temp-system/multilib/bzip2-64bit.xml
   branches/cross-lfs/BOOK/temp-system/sparc64-chapter.xml
Log:
Added note about lib64 to bzip2-64Bit in Temp-System.
Added gzip instructions to multilib in temp-system.


Modified: branches/cross-lfs/BOOK/temp-system/multilib/bzip2-64bit.xml
===================================================================
--- branches/cross-lfs/BOOK/temp-system/multilib/bzip2-64bit.xml	2005-05-13 16:52:55 UTC (rev 5331)
+++ branches/cross-lfs/BOOK/temp-system/multilib/bzip2-64bit.xml	2005-05-13 17:03:19 UTC (rev 5332)
@@ -31,7 +31,8 @@
 <title>Installation of Bzip2</title>
 
 <para>We need to remove the tests to since they won't work on
-a multi-architecture build:</para>
+a multi-architecture build, and tell change the default lib path
+to lib64:</para>
 
 <screen><userinput>sed -i -e 's@^\(all:.*\) test@\1 at g' \
   -e 's@/lib\(/\| \|$\)@/lib64\1 at g' Makefile</userinput></screen>

Copied: branches/cross-lfs/BOOK/temp-system/multilib/gzip.xml (from rev 5331, branches/cross-lfs/BOOK/temp-system/common/gzip.xml)
===================================================================
--- branches/cross-lfs/BOOK/temp-system/common/gzip.xml	2005-05-13 16:52:55 UTC (rev 5331)
+++ branches/cross-lfs/BOOK/temp-system/multilib/gzip.xml	2005-05-13 17:03:19 UTC (rev 5332)
@@ -0,0 +1,61 @@
+<?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-gzip" role="wrap">
+<title>Gzip-&gzip-version;</title>
+<?dbhtml filename="gzip.html"?>
+
+<indexterm zone="ch-temp-system-gzip">
+<primary sortas="a-Gzip">Gzip</primary>
+<secondary>temporary system</secondary></indexterm>
+
+<sect2 role="package"><title/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../final-system/common/gzip.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
+
+<segmentedlist>
+<segtitle>&buildtime;</segtitle>
+<segtitle>&diskspace;</segtitle>
+<seglistitem><seg>0.1 SBU</seg><seg>2.6 MB</seg></seglistitem>
+</segmentedlist>
+
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../final-system/common/gzip.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
+
+</sect2>
+
+<sect2 role="installation">
+<title>Installation of Gzip</title>
+
+<para>Setup configure so it can use cross-compiled tools:</para>
+
+<screen><userinput>sed -i "s at nm conftest@${LFS_TARGET}-&@" configure</userinput></screen>
+
+<para>Prepare Gzip for compilation:</para>
+
+<screen><userinput>CC="${CC} ${BUILD64}" \
+  ./configure --prefix=/tools \
+  --host=${LFS_TARGET}</userinput></screen>
+
+<para>Compile the package:</para>
+
+<screen><userinput>make LDFLAGS="-s"</userinput></screen>
+
+<para>This package does not come with a test suite.</para>
+
+<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-gzip" 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 16:52:55 UTC (rev 5331)
+++ branches/cross-lfs/BOOK/temp-system/sparc64-chapter.xml	2005-05-13 17:03:19 UTC (rev 5332)
@@ -18,7 +18,7 @@
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/coreutils.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/bzip2.xml"/>
 <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="common/gzip.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="common/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="common/m4.xml"/>




More information about the lfs-book mailing list