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

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Fri May 13 10:48:08 PDT 2005


Author: jhuntwork
Date: 2005-05-13 11:48:07 -0600 (Fri, 13 May 2005)
New Revision: 5341

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

Copied: branches/cross-lfs/BOOK/temp-system/multilib/gettext-64bit.xml (from rev 5340, branches/cross-lfs/BOOK/temp-system/multilib/gettext.xml)
===================================================================
--- branches/cross-lfs/BOOK/temp-system/multilib/gettext.xml	2005-05-13 17:45:20 UTC (rev 5340)
+++ branches/cross-lfs/BOOK/temp-system/multilib/gettext-64bit.xml	2005-05-13 17:48:07 UTC (rev 5341)
@@ -0,0 +1,79 @@
+<?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-gettext-64bit" role="wrap">
+<title>Gettext-&gettext-version; 64-Bit</title>
+<?dbhtml filename="gettexti-64.html"?>
+
+<indexterm zone="ch-temp-system-gettext-64bit">
+<primary sortas="a-Gettext-64bit">Gettext</primary>
+<secondary>temporary system</secondary></indexterm>
+
+<sect2 role="package"><title/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../final-system/common/gettext.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
+
+<segmentedlist>
+<segtitle>&buildtime;</segtitle>
+<segtitle>&diskspace;</segtitle>
+<seglistitem><seg>0.5 SBU</seg><seg>55 MB</seg></seglistitem>
+</segmentedlist>
+
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../final-system/common/gettext.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
+
+</sect2>
+
+<sect2 role="installation">
+<title>Installation of Gettext</title>
+
+<para>Gettext 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 Gettext for compilation:</para>
+
+<screen><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
+   --host=${LFS_TARGET} --disable-libasprintf --libdir=/tools/lib64 \
+   --without-csharp --cache-file=config.cache</userinput></screen>
+
+<para>The meaning of the configure options:</para>
+
+<variablelist>
+<varlistentry>
+<term><parameter>--disable-libasprintf</parameter></term>
+<listitem><para>This flag tells Gettext not to build the
+<filename class="libraryfile">asprintf</filename> library. Because nothing in this 
+chapter or the next requires this library and Gettext gets rebuilt later,
+exclude it to save time and space.</para></listitem>
+</varlistentry>
+
+<varlistentry>
+<term><parameter>--without-csharp</parameter></term>
+<listitem><para>This tells Gettext not to use a C# compiler, even if a
+C# compiler is installed on the host. This needs to be done because
+once we enter the chroot environment, C# will no longer be
+available.</para></listitem>
+</varlistentry>
+</variablelist>
+
+<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-gettext" 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:45:20 UTC (rev 5340)
+++ branches/cross-lfs/BOOK/temp-system/sparc64-chapter.xml	2005-05-13 17:48:07 UTC (rev 5341)
@@ -28,6 +28,7 @@
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/grep.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/sed.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gettext.xml"/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gettext-64bit.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/ncurses.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/patch.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/tar.xml"/>




More information about the lfs-book mailing list