diff options
-rw-r--r-- | appendices/acknowledgments.xml | 7 | ||||
-rw-r--r-- | chapter01/changelog.xml | 14 | ||||
-rw-r--r-- | chapter01/whatsnew.xml | 14 | ||||
-rw-r--r-- | chapter05/chapter05.xml | 2 | ||||
-rw-r--r-- | chapter05/gcc-pass1.xml | 11 | ||||
-rw-r--r-- | chapter05/gmp.xml | 72 | ||||
-rw-r--r-- | chapter05/mpfr.xml | 72 | ||||
-rw-r--r-- | chapter06/chapter06.xml | 2 | ||||
-rw-r--r-- | chapter06/gmp.xml | 101 | ||||
-rw-r--r-- | chapter06/mpfr.xml | 98 | ||||
-rw-r--r-- | general.ent | 4 | ||||
-rw-r--r-- | packages.ent | 38 |
12 files changed, 422 insertions, 13 deletions
diff --git a/appendices/acknowledgments.xml b/appendices/acknowledgments.xml index a7a4287f1..325ad25b3 100644 --- a/appendices/acknowledgments.xml +++ b/appendices/acknowledgments.xml @@ -61,7 +61,7 @@ <listitem> <para><ulink url="mailto:randy@linuxfromscratch.org">Randy McMurchy</ulink> <randy@linuxfromscratch.org> – BLFS - Project Leader</para> + Project Leader, LFS Editor</para> </listitem> <listitem> @@ -71,6 +71,11 @@ </listitem> <listitem> + <para><ulink url="mailto:dj@linuxfromscratch.org">DJ Lucas</ulink> + <dj@linuxfromscratch.org> – LFS and BLFS Editor</para> + </listitem> + + <listitem> <para><ulink url="mailto:ken@linuxfromscratch.org">Ken Moffat</ulink> <ken@linuxfromscratch.org> – LFS and CLFS Editor</para> </listitem> diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 65ed8c5c1..10d7b36f8 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -35,6 +35,20 @@ </itemizedlist> </listitem> --> + + <listitem> + <para>2008-10-03</para> + <itemizedlist> + <listitem> + <para>[randy] - Updated GCC to 4.3.2 which includes adding the + GMP-4.2.4 and MPFR-2.3.2 packages. This new version of GCC requires + the added packages. Thanks to DJ Lucas for the stimulus and initial + work resulting in this and all of the other package updates coming + up.</para> + </listitem> + </itemizedlist> + </listitem> + <listitem> <para>2008-07-11</para> <itemizedlist> diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index c0f887bc8..7f284ef46 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -86,6 +86,9 @@ <listitem> <para>Glibc &glibc-version;</para> </listitem> + <!-- <listitem> + <para>GMP &gmp-version;</para> + </listitem> --> <listitem> <para>Grep &grep-version;</para> </listitem> @@ -140,6 +143,9 @@ <listitem> <para>Module-Init-Tools &module-init-tools-version;</para> </listitem> + <!-- <listitem> + <para>MPFR &mpfr-version;</para> + </listitem> --> <!--<listitem> <para>Ncurses &ncurses-version;</para> </listitem>--> @@ -217,6 +223,10 @@ </listitem> <listitem> + <para>GMP-&gmp-version;</para> + </listitem> + + <listitem> <para>&grep-debian-patch;</para> </listitem> @@ -233,6 +243,10 @@ </listitem> <listitem> + <para>MPFR-&mpfr-version;</para> + </listitem> + + <listitem> <para>&readline-fixes-patch;</para> </listitem> diff --git a/chapter05/chapter05.xml b/chapter05/chapter05.xml index c2dc718ad..ca0206dc2 100644 --- a/chapter05/chapter05.xml +++ b/chapter05/chapter05.xml @@ -21,6 +21,8 @@ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="tcl.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="expect.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="dejagnu.xml"/> + <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gmp.xml"/> + <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mpfr.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gcc-pass2.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="binutils-pass2.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ncurses.xml"/> diff --git a/chapter05/gcc-pass1.xml b/chapter05/gcc-pass1.xml index 4589d28fe..663d8576b 100644 --- a/chapter05/gcc-pass1.xml +++ b/chapter05/gcc-pass1.xml @@ -43,6 +43,15 @@ <sect2 role="installation"> <title>Installation of GCC</title> + <para>GCC now requires the GMP and MPFR packages. As these packages may + not be included in your host distribution, they will be built with + GCC.</para> + +<screen><userinput remap="pre">tar -jxf ../mpfr/&mpfr-version;.tar.bz2 && +mv mpfr-&mpfr-version; mpfr && +tar -jxf ../gmp-&gmp-version;.tar.bz2 && +mv gmp-&gmp-version; gmp</userinput></screen> + <para>The GCC documentation recommends building GCC outside of the source directory in a dedicated build directory:</para> @@ -53,7 +62,7 @@ cd ../gcc-build</userinput></screen> <screen><userinput remap="configure">CC="gcc -B/usr/bin/" ../gcc-&gcc-version;/configure --prefix=/tools \ --with-local-prefix=/tools --disable-nls --enable-shared \ - --enable-languages=c</userinput></screen> + --enable-languages=c --disable-decimal-float</userinput></screen> <variablelist> <title>The meaning of the configure options:</title> diff --git a/chapter05/gmp.xml b/chapter05/gmp.xml new file mode 100644 index 000000000..76885e60b --- /dev/null +++ b/chapter05/gmp.xml @@ -0,0 +1,72 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" + "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ + <!ENTITY % general-entities SYSTEM "../general.ent"> + %general-entities; +]> + +<sect1 id="ch-tools-gmp" role="wrap"> + <?dbhtml filename="gmp.html"?> + + <sect1info condition="script"> + <productname>gmp</productname> + <productnumber>&gmp-version;</productnumber> + <address>&gmp-url;</address> + </sect1info> + + <title>GMP-&gmp-version;</title> + + <indexterm zone="ch-tools-gmp"> + <primary sortas="a-GMP">GMP</primary> + <secondary>tools</secondary> + </indexterm> + + <sect2 role="package"> + <title/> + + <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" + href="../chapter06/gmp.xml" + xpointer="xpointer(/sect1/sect2[1]/para[1])"/> + + <segmentedlist> + <segtitle>&buildtime;</segtitle> + <segtitle>&diskspace;</segtitle> + + <seglistitem> + <seg>&gmp-ch5-sbu;</seg> + <seg>&gmp-ch5-du;</seg> + </seglistitem> + </segmentedlist> + + </sect2> + + <sect2 role="installation"> + <title>Installation of GMP</title> + + <para>Prepare GMP for compilation:</para> + +<screen><userinput remap="configure">./configure --prefix=/tools --enable-mpbsd</userinput></screen> + + <para>Compile the package:</para> + +<screen><userinput remap="make">make</userinput></screen> + + <para>To test the results, issue:</para> + +<screen><userinput remap="test">make check</userinput></screen> + + <para>Install the package:</para> + +<screen><userinput remap="install">make install</userinput></screen> + + </sect2> + + <sect2 role="content"> + <title/> + + <para>Details on this package are located in + <xref linkend="contents-gmp" role="."/></para> + + </sect2> + +</sect1> diff --git a/chapter05/mpfr.xml b/chapter05/mpfr.xml new file mode 100644 index 000000000..692cefa56 --- /dev/null +++ b/chapter05/mpfr.xml @@ -0,0 +1,72 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" + "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ + <!ENTITY % general-entities SYSTEM "../general.ent"> + %general-entities; +]> + +<sect1 id="ch-tools-mpfr" role="wrap"> + <?dbhtml filename="mpfr.html"?> + + <sect1info condition="script"> + <productname>mpfr</productname> + <productnumber>&mpfr-version;</productnumber> + <address>&mpfr-url;</address> + </sect1info> + + <title>MPFR-&mpfr-version;</title> + + <indexterm zone="ch-tools-mpfr"> + <primary sortas="a-MPFR">MPFR</primary> + <secondary>tools</secondary> + </indexterm> + + <sect2 role="package"> + <title/> + + <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" + href="../chapter06/mpfr.xml" + xpointer="xpointer(/sect1/sect2[1]/para[1])"/> + + <segmentedlist> + <segtitle>&buildtime;</segtitle> + <segtitle>&diskspace;</segtitle> + + <seglistitem> + <seg>&mpfr-ch5-sbu;</seg> + <seg>&mpfr-ch5-du;</seg> + </seglistitem> + </segmentedlist> + + </sect2> + + <sect2 role="installation"> + <title>Installation of MPFR</title> + + <para>Prepare MPFR for compilation:</para> + +<screen><userinput remap="configure">./configure --prefix=/tools --enable-thread-safe</userinput></screen> + + <para>Compile the package:</para> + +<screen><userinput remap="make">make</userinput></screen> + + <para>To test the results, issue:</para> + +<screen><userinput remap="test">make check</userinput></screen> + + <para>Install the package:</para> + +<screen><userinput remap="install">make install</userinput></screen> + + </sect2> + + <sect2 role="content"> + <title/> + + <para>Details on this package are located in + <xref linkend="contents-mpfr" role="."/></para> + + </sect2> + +</sect1> diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml index 2e59bd4bf..0540bbbd6 100644 --- a/chapter06/chapter06.xml +++ b/chapter06/chapter06.xml @@ -22,6 +22,8 @@ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="glibc.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="readjusting.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="gmp.xml"/> + <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mpfr.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="db.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sed.xml"/> diff --git a/chapter06/gmp.xml b/chapter06/gmp.xml new file mode 100644 index 000000000..5077f740e --- /dev/null +++ b/chapter06/gmp.xml @@ -0,0 +1,101 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" + "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ + <!ENTITY % general-entities SYSTEM "../general.ent"> + %general-entities; +]> + +<sect1 id="ch-system-gmp" role="wrap"> + <?dbhtml filename="gmp.html"?> + + <sect1info condition="script"> + <productname>gmp</productname> + <productnumber>&gmp-version;</productnumber> + <address>&gmp-url;</address> + </sect1info> + + <title>GMP-&gmp-version;</title> + + <indexterm zone="ch-system-gmp"> + <primary sortas="a-GMP">GMP</primary> + </indexterm> + + <sect2 role="package"> + <title/> + + <para>The GMP package contains math libraries. These have useful functions + for arbitrary precision arithmetic.</para> + + <segmentedlist> + <segtitle>&buildtime;</segtitle> + <segtitle>&diskspace;</segtitle> + + <seglistitem> + <seg>&gmp-ch6-sbu;</seg> + <seg>&gmp-ch6-du;</seg> + </seglistitem> + </segmentedlist> + + </sect2> + + <sect2 role="installation"> + <title>Installation of GMP</title> + + <para>Prepare GMP for compilation:</para> + +<screen><userinput remap="configure">./configure --prefix=/usr --enable-cxx --enable-mpbsd</userinput></screen> + + <para>Compile the package:</para> + +<screen><userinput remap="make">make</userinput></screen> + + <important> + <para>The test suite for GMP in this section is considered critical. + Do not skip it under any circumstances.</para> + </important> + + <para>Test the results:</para> + +<screen><userinput remap="test">make check</userinput></screen> + + <para>Install the package:</para> + +<screen><userinput remap="install">make install && +install -v -m755 -d /usr/share/doc/gmp-4.2.2 && +install -v -m644 doc/{isa_abi_headache,configuration} doc/*.html \ + /usr/share/doc/gmp-4.2.2</userinput></screen> + + </sect2> + + + <sect2 id="contents-gmp" role="content"> + <title>Contents of GMP</title> + + <segmentedlist> + <segtitle>Installed Libraries</segtitle> + + <seglistitem> + <seg>gmp.so</seg> + </seglistitem> + </segmentedlist> + + <variablelist> + <bridgehead renderas="sect3">Short Descriptions</bridgehead> + <?dbfo list-presentation="list"?> + <?dbhtml list-presentation="table"?> + + <varlistentry id="gmp"> + <term><command>gmp</command></term> + <listitem> + <para>Contains precision math functions.</para> + <indexterm zone="ch-system-gmp gmp"> + <primary sortas="c-gmp">gmp</primary> + </indexterm> + </listitem> + </varlistentry> + + </variablelist> + + </sect2> + +</sect1> diff --git a/chapter06/mpfr.xml b/chapter06/mpfr.xml new file mode 100644 index 000000000..39446af81 --- /dev/null +++ b/chapter06/mpfr.xml @@ -0,0 +1,98 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" + "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ + <!ENTITY % general-entities SYSTEM "../general.ent"> + %general-entities; +]> + +<sect1 id="ch-system-mpfr" role="wrap"> + <?dbhtml filename="mpfr.html"?> + + <sect1info condition="script"> + <productname>mpfr</productname> + <productnumber>&mpfr-version;</productnumber> + <address>&mpfr-url;</address> + </sect1info> + + <title>MPFR-&mpfr-version;</title> + + <indexterm zone="ch-system-mpfr"> + <primary sortas="a-MPFR">MPFR</primary> + </indexterm> + + <sect2 role="package"> + <title/> + + <para>The MPFR package contains functions for multiple precision + math.</para> + + <segmentedlist> + <segtitle>&buildtime;</segtitle> + <segtitle>&diskspace;</segtitle> + + <seglistitem> + <seg>&mpfr-ch6-sbu;</seg> + <seg>&mpfr-ch6-du;</seg> + </seglistitem> + </segmentedlist> + + </sect2> + + <sect2 role="installation"> + <title>Installation of MPFR</title> + + <para>Prepare MPFR for compilation:</para> + +<screen><userinput remap="configure">./configure --prefix=/usr --enable-thread-safe</userinput></screen> + + <para>Compile the package:</para> + +<screen><userinput remap="make">make</userinput></screen> + + <important> + <para>The test suite for MPFR in this section is considered critical. + Do not skip it under any circumstances.</para> + </important> + + <para>Test the results:</para> + +<screen><userinput remap="test">make check</userinput></screen> + + <para>Install the package:</para> + +<screen><userinput remap="install">make install</userinput></screen> + + </sect2> + + + <sect2 id="contents-mpfr" role="content"> + <title>Contents of MPFR</title> + + <segmentedlist> + <segtitle>Installed Libraries</segtitle> + + <seglistitem> + <seg>mpfr.so</seg> + </seglistitem> + </segmentedlist> + + <variablelist> + <bridgehead renderas="sect3">Short Descriptions</bridgehead> + <?dbfo list-presentation="list"?> + <?dbhtml list-presentation="table"?> + + <varlistentry id="mpfr"> + <term><command>mpfr</command></term> + <listitem> + <para>Contains multiple-precision math functions.</para> + <indexterm zone="ch-system-mpfr mpfr"> + <primary sortas="c-mpfr">mpfr</primary> + </indexterm> + </listitem> + </varlistentry> + + </variablelist> + + </sect2> + +</sect1> diff --git a/general.ent b/general.ent index b33e8899d..bf9c5b996 100644 --- a/general.ent +++ b/general.ent @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="ISO-8859-1"?> -<!ENTITY version "SVN-20080711"> -<!ENTITY releasedate "July 11, 2008"> +<!ENTITY version "SVN-20081003"> +<!ENTITY releasedate "October 3, 2008"> <!ENTITY copyrightdate "1999–2008"> <!ENTITY milestone "7.0"> <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" --> diff --git a/packages.ent b/packages.ent index f2ea82969..5a0ca85f8 100644 --- a/packages.ent +++ b/packages.ent @@ -170,17 +170,17 @@ <!ENTITY gawk-ch6-du "18.2 MB"> <!ENTITY gawk-ch6-sbu "0.2 SBU"> -<!ENTITY gcc-version "4.2.3"> -<!ENTITY gcc-size "43,413 KB"> +<!ENTITY gcc-version "4.3.2"> +<!ENTITY gcc-size "58,929 KB"> <!ENTITY gcc-url "&gnu;gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2"> -<!ENTITY gcc-md5 "ef2a4d9991b3644115456ea05b2b8163"> +<!ENTITY gcc-md5 "5dfac5da961ecd5f227c3175859a486d"> <!ENTITY gcc-home "http://gcc.gnu.org/"> -<!ENTITY gcc-ch5p1-du "655 MB"> -<!ENTITY gcc-ch5p1-sbu "9.2 SBU"> -<!ENTITY gcc-ch5p2-du "553 MB"> -<!ENTITY gcc-ch5p2-sbu "4.2 SBU"> -<!ENTITY gcc-ch6-du "681 MB testsuite included"> -<!ENTITY gcc-ch6-sbu "22 SBU testsuite included"> +<!ENTITY gcc-ch5p1-du "1.1 GB"> +<!ENTITY gcc-ch5p1-sbu "22 SBU"> +<!ENTITY gcc-ch5p2-du "865 MB"> +<!ENTITY gcc-ch5p2-sbu "6.5 SBU"> +<!ENTITY gcc-ch6-du "1.1 GB testsuite included"> +<!ENTITY gcc-ch6-sbu "25 SBU testsuite included"> <!ENTITY gettext-version "0.17"> <!ENTITY gettext-size "11,368 KB"> @@ -207,6 +207,16 @@ <!ENTITY glibc-libidn-md5 "226809992fb1f3dc6ea23e0f26952ea4"> <!ENTITY glibc-libidn-home " "> +<!ENTITY gmp-version "4.2.4"> +<!ENTITY gmp-size "1,170 KB"> +<!ENTITY gmp-url "&gnu;gmp/gmp-&gmp-version;.tar.bz2"> +<!ENTITY gmp-md5 "fc1e3b3a2a5038d4d74138d0b9cf8dbe"> +<!ENTITY gmp-home "&gnu-software;gmp/"> +<!ENTITY gmp-ch5-du "22.9 MB"> +<!ENTITY gmp-ch5-sbu "0.8 SBU"> +<!ENTITY gmp-ch6-du "39.4 MB testsuite included"> +<!ENTITY gmp-ch6-sbu "1.5 SBU testsuite included"> + <!ENTITY grep-version "2.5.3"> <!ENTITY grep-size "604 KB"> <!ENTITY grep-url "&gnu;grep/grep-&grep-version;.tar.bz2"> @@ -368,6 +378,16 @@ <!ENTITY module-init-tools-ch6-du "8 MB"> <!ENTITY module-init-tools-ch6-sbu "less than 0.1 SBU"> +<!ENTITY mpfr-version "2.3.2"> +<!ENTITY mpfr-size "986 KB"> +<!ENTITY mpfr-url "http://www.mpfr.org/mpfr-current/mpfr-&mpfr-version;.tar.bz2"> +<!ENTITY mpfr-md5 "527147c097874340cb9cee0579dacf3b"> +<!ENTITY mpfr-home "http://www.mpfr.org/"> +<!ENTITY mpfr-ch5-du "19.3 MB"> +<!ENTITY mpfr-ch5-sbu "0.5 SBU"> +<!ENTITY mpfr-ch6-du "39.4 MB testsuite included"> +<!ENTITY mpfr-ch6-sbu "1.2 SBU testsuite included"> + <!ENTITY ncurses-version "5.6"> <!-- <!ENTITY ncurses-date "20050319"> --> <!ENTITY ncurses-size "2,346 KB"> |