r5285 - in branches/cross-lfs/BOOK: introduction temp-system

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Mon May 9 17:41:55 PDT 2005


Author: jhuntwork
Date: 2005-05-09 18:41:54 -0600 (Mon, 09 May 2005)
New Revision: 5285

Added:
   branches/cross-lfs/BOOK/temp-system/zlib-32-sparc64.xml
Modified:
   branches/cross-lfs/BOOK/introduction/changelog.xml
   branches/cross-lfs/BOOK/temp-system/chapter.xml
   branches/cross-lfs/BOOK/temp-system/zlib.xml
Log:
Temp-System: Added Sparc64 instructions to zlib, and created a zlib-32 page

Modified: branches/cross-lfs/BOOK/introduction/changelog.xml
===================================================================
--- branches/cross-lfs/BOOK/introduction/changelog.xml	2005-05-10 00:14:23 UTC (rev 5284)
+++ branches/cross-lfs/BOOK/introduction/changelog.xml	2005-05-10 00:41:54 UTC (rev 5285)
@@ -103,6 +103,7 @@
 <itemizedlist>
 <listitem><para>May 9, 2005 [jhuntwork]</para>
 <itemizedlist>
+<listitem><para>Temp-System: Added Sparc64 instructions to zlib, and created a zlib-32 page.</para></listitem>
 <listitem><para>Temp-System: Added Sparc64 instructions to gcc, fixed a sed for all archs.</para></listitem>
 <listitem><para>Temp-System: Added Sparc64 instructions to binutils.</para></listitem>
 <listitem><para>Cross-tools: Added a necessary patch to binutils for multilib environments.</para></listitem>

Modified: branches/cross-lfs/BOOK/temp-system/chapter.xml
===================================================================
--- branches/cross-lfs/BOOK/temp-system/chapter.xml	2005-05-10 00:14:23 UTC (rev 5284)
+++ branches/cross-lfs/BOOK/temp-system/chapter.xml	2005-05-10 00:41:54 UTC (rev 5285)
@@ -12,6 +12,7 @@
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="variables.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="binutils.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gcc.xml"/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="zlib-32-sparc64.xml"/> <!-- sparc64 -->
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="zlib.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gawk.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="coreutils.xml"/>

Added: branches/cross-lfs/BOOK/temp-system/zlib-32-sparc64.xml
===================================================================
--- branches/cross-lfs/BOOK/temp-system/zlib-32-sparc64.xml	2005-05-10 00:14:23 UTC (rev 5284)
+++ branches/cross-lfs/BOOK/temp-system/zlib-32-sparc64.xml	2005-05-10 00:41:54 UTC (rev 5285)
@@ -0,0 +1,50 @@
+<?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">
+  %general-entities;
+]>
+<sect1 id="ch-temp-system-zlib 32-Bit" role="wrap">
+<title>Zlib-&zlib-version; 32-Bit</title>
+<?dbhtml filename="zlib32.html"?>
+
+<indexterm zone="ch-temp-system-zlib-32"><primary sortas="a-Zlib-32">Zlib-32</primary>
+<secondary>temporary system</secondary></indexterm>
+
+<sect2 role="package"><title/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../final-system/zlib.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
+
+<segmentedlist>
+<segtitle>&buildtime;</segtitle>
+<segtitle>&diskspace;</segtitle>
+<seglistitem><seg>0.1 SBU</seg><seg>1.5 MB</seg></seglistitem>
+</segmentedlist>
+
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../final-system/zlib.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
+
+</sect2>
+
+<sect2 role="installation">
+<title>Installation of Zlib</title>
+
+<para>Prepare Zlib for compilation:</para>
+
+<screen><userinput>CC="${LFS_TARGET}-gcc -m32 -mcpu=ultrasparc" \
+     ./configure --prefix=/tools --shared</userinput></screen>
+
+<para>Compile the package:</para>
+
+<screen><userinput>make</userinput></screen>
+
+<para>Install the shared library:</para>
+
+<screen><userinput>make install</userinput></screen>
+
+</sect2>
+
+<sect2 role="content"><title/>
+<para>Details on this package are located in <xref
+linkend="contents-zlib" role="."/></para>
+</sect2>
+
+</sect1>
+

Modified: branches/cross-lfs/BOOK/temp-system/zlib.xml
===================================================================
--- branches/cross-lfs/BOOK/temp-system/zlib.xml	2005-05-10 00:14:23 UTC (rev 5284)
+++ branches/cross-lfs/BOOK/temp-system/zlib.xml	2005-05-10 00:41:54 UTC (rev 5285)
@@ -28,8 +28,11 @@
 
 <para>Prepare Zlib for compilation:</para>
 
-<screen><userinput>./configure --prefix=/tools --shared</userinput></screen>
+<screen arch="x86;ppc;raq2;sparc;"><userinput>./configure --prefix=/tools --shared</userinput></screen>
 
+<screen arch="sparc64"><userinput>CC="${LFS_TARGET}-gcc -m64 -mcpu=ultrasparc" \
+     ./configure --prefix=/tools --shared --libdir=/tools/lib64</userinput></screen>
+
 <para>Compile the package:</para>
 
 <screen><userinput>make</userinput></screen>




More information about the lfs-book mailing list