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

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Fri May 13 10:33:45 PDT 2005


Author: jhuntwork
Date: 2005-05-13 11:33:45 -0600 (Fri, 13 May 2005)
New Revision: 5337

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

Copied: branches/cross-lfs/BOOK/temp-system/multilib/flex.xml (from rev 5331, branches/cross-lfs/BOOK/temp-system/common/flex.xml)
===================================================================
--- branches/cross-lfs/BOOK/temp-system/common/flex.xml	2005-05-13 16:52:55 UTC (rev 5331)
+++ branches/cross-lfs/BOOK/temp-system/multilib/flex.xml	2005-05-13 17:33:45 UTC (rev 5337)
@@ -0,0 +1,66 @@
+<?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-flex" role="wrap">
+<title>Flex-&flex-version;</title>
+<?dbhtml filename="flex.html"?>
+
+<indexterm zone="ch-temp-system-flex">
+<primary sortas="a-Flex">Flex</primary>
+<secondary>temporary system</secondary></indexterm>
+
+<sect2 role="package"><title/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../final-system/common/flex.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
+
+<segmentedlist>
+<segtitle>&buildtime;</segtitle>
+<segtitle>&diskspace;</segtitle>
+<seglistitem><seg>0.6 SBU</seg><seg>10.6 MB</seg></seglistitem>
+</segmentedlist>
+
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../final-system/common/flex.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
+
+</sect2>
+
+<sect2 role="installation">
+<title>Installation of Flex</title>
+
+<para>Flex contains several known bugs. These can be fixed with the
+following patch:</para>
+
+<screen><userinput>patch -Np1 -i ../flex-&flex-version;-debian_fixes-4.patch</userinput></screen>
+
+<para>The GNU autotools will detect that the Flex source code has been
+modified by the previous patch and tries to update the manual page
+accordingly.  This does not work on many systems, and the default page is
+fine, so make sure it does not get regenerated:</para>
+
+<screen><userinput>touch doc/flex.1</userinput></screen>
+
+<para>Now prepare Flex for compilation:</para>
+
+<screen><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
+   --host=${LFS_TARGET} --disable-nls --libdir=/tools/lib64</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-flex" role="."/></para>
+</sect2>
+
+</sect1>
+

Copied: branches/cross-lfs/BOOK/temp-system/multilib/make.xml (from rev 5331, branches/cross-lfs/BOOK/temp-system/common/make.xml)
===================================================================
--- branches/cross-lfs/BOOK/temp-system/common/make.xml	2005-05-13 16:52:55 UTC (rev 5331)
+++ branches/cross-lfs/BOOK/temp-system/multilib/make.xml	2005-05-13 17:33:45 UTC (rev 5337)
@@ -0,0 +1,54 @@
+<?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-make" role="wrap">
+<title>Make-&make-version;</title>
+<?dbhtml filename="make.html"?>
+
+<indexterm zone="ch-temp-system-make">
+<primary sortas="a-Make">Make</primary>
+<secondary>temporary system</secondary></indexterm>
+
+<sect2 role="package"><title/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../final-system/common/make.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
+
+<segmentedlist>
+<segtitle>&buildtime;</segtitle>
+<segtitle>&diskspace;</segtitle>
+<seglistitem><seg>0.2 SBU</seg><seg>8.8 MB</seg></seglistitem>
+</segmentedlist>
+
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../final-system/common/make.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
+
+</sect2>
+
+<sect2 role="installation">
+<title>Installation of Make</title>
+
+<para>Prepare Make 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>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-make" 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:26:05 UTC (rev 5336)
+++ branches/cross-lfs/BOOK/temp-system/sparc64-chapter.xml	2005-05-13 17:33:45 UTC (rev 5337)
@@ -23,8 +23,8 @@
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/findutils.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/m4.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/bison.xml"/>
-<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/flex.xml"/>
-<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/make.xml"/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/flex.xml"/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/make.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/grep.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/sed.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gettext.xml"/>




More information about the lfs-book mailing list