r5327 - in branches/cross-lfs/BOOK: introduction/common temp-system temp-system/multilib

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


Author: jhuntwork
Date: 2005-05-13 10:34:09 -0600 (Fri, 13 May 2005)
New Revision: 5327

Added:
   branches/cross-lfs/BOOK/temp-system/multilib/bzip2-64bit.xml
Modified:
   branches/cross-lfs/BOOK/introduction/common/changelog.xml
   branches/cross-lfs/BOOK/temp-system/multilib/bzip2.xml
   branches/cross-lfs/BOOK/temp-system/sparc64-chapter.xml
Log:
Temp-System: Added multilib build instructions for bzi2

Modified: branches/cross-lfs/BOOK/introduction/common/changelog.xml
===================================================================
--- branches/cross-lfs/BOOK/introduction/common/changelog.xml	2005-05-13 16:27:29 UTC (rev 5326)
+++ branches/cross-lfs/BOOK/introduction/common/changelog.xml	2005-05-13 16:34:09 UTC (rev 5327)
@@ -94,6 +94,7 @@
 <itemizedlist>
 <listitem><para>May 13, 2005 [jhuntwork]</para>
 <itemizedlist>
+<listitem><para>Temp-System: Added multilib build instructions for bzi2.</para></listitem>
 <listitem><para>Changed CC="${LFS_TARGET}-gcc buildflags" to CC="${CC} buildflags".</para></listitem>
 </itemizedlist>
 </listitem>

Copied: branches/cross-lfs/BOOK/temp-system/multilib/bzip2-64bit.xml (from rev 5326, branches/cross-lfs/BOOK/temp-system/multilib/bzip2.xml)
===================================================================
--- branches/cross-lfs/BOOK/temp-system/multilib/bzip2.xml	2005-05-13 16:27:29 UTC (rev 5326)
+++ branches/cross-lfs/BOOK/temp-system/multilib/bzip2-64bit.xml	2005-05-13 16:34:09 UTC (rev 5327)
@@ -0,0 +1,57 @@
+<?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-bzip2" role="wrap">
+<title>Bzip2-&bzip2-version;</title>
+<?dbhtml filename="bzip2.html"?>
+
+<indexterm zone="ch-temp-system-bzip2">
+<primary sortas="a-Bzip2">Bzip2</primary>
+<secondary>temporary system</secondary></indexterm>
+
+<sect2 role="package"><title/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../final-system/common/bzip2.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
+
+<segmentedlist>
+<segtitle>&buildtime;</segtitle>
+<segtitle>&diskspace;</segtitle>
+<seglistitem><seg>0.1 SBU</seg><seg>2.5 MB</seg></seglistitem>
+</segmentedlist>
+
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../final-system/common/bzip2.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
+
+</sect2>
+
+<sect2 role="installation">
+<title>Installation of Bzip2</title>
+
+<para>We need to remove the tests to since they won't work on
+a multi-architecture build:</para>
+
+<screen><userinput>sed -i -e 's@^\(all:.*\) test@\1 at g' \
+  's@/lib\(/\| \|$\)@/lib64\1 at g' Makefile</userinput></screen>
+
+<para>The Bzip2 package does not contain a <command>configure</command>
+script. Compile it with:</para>
+
+<screen><userinput>make CC="${CC} ${BUILD64}" AR="${AR}" \
+RANLIB="${RANLIB}" LDFLAGS="-s"</userinput></screen>
+
+<para>Install the package:</para>
+
+<screen><userinput>make PREFIX=/tools install</userinput></screen>
+
+</sect2>
+
+<sect2 role="content"><title/>
+<para>Details on this package are located in <xref
+linkend="contents-bzip2" role="."/></para>
+</sect2>
+
+</sect1>
+

Modified: branches/cross-lfs/BOOK/temp-system/multilib/bzip2.xml
===================================================================
--- branches/cross-lfs/BOOK/temp-system/multilib/bzip2.xml	2005-05-13 16:27:29 UTC (rev 5326)
+++ branches/cross-lfs/BOOK/temp-system/multilib/bzip2.xml	2005-05-13 16:34:09 UTC (rev 5327)
@@ -38,7 +38,7 @@
 <para>The Bzip2 package does not contain a <command>configure</command>
 script. Compile it with:</para>
 
-<screen><userinput>make CC="${CC}" AR="${AR}" \
+<screen><userinput>make CC="${CC} ${BUILD32}" AR="${AR}" \
 RANLIB="${RANLIB}" LDFLAGS="-s"</userinput></screen>
 
 <para>Install the package:</para>

Modified: branches/cross-lfs/BOOK/temp-system/sparc64-chapter.xml
===================================================================
--- branches/cross-lfs/BOOK/temp-system/sparc64-chapter.xml	2005-05-13 16:27:29 UTC (rev 5326)
+++ branches/cross-lfs/BOOK/temp-system/sparc64-chapter.xml	2005-05-13 16:34:09 UTC (rev 5327)
@@ -16,7 +16,8 @@
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/zlib-64bit.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gawk.xml"/>
 <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="common/bzip2.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="common/diffutils.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/findutils.xml"/>




More information about the lfs-book mailing list