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 @@ Randy McMurchy <randy@linuxfromscratch.org> – BLFS - Project Leader + Project Leader, LFS Editor @@ -70,6 +70,11 @@ BLFS Editor + + DJ Lucas + <dj@linuxfromscratch.org> – LFS and BLFS Editor + + Ken Moffat <ken@linuxfromscratch.org> – LFS and CLFS Editor 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 @@ --> + + + 2008-10-03 + + + [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. + + + + 2008-07-11 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 @@ Glibc &glibc-version; + Grep &grep-version; @@ -140,6 +143,9 @@ Module-Init-Tools &module-init-tools-version; + @@ -216,6 +222,10 @@ &db-fixes-patch; + + GMP-&gmp-version; + + &grep-debian-patch; @@ -232,6 +242,10 @@ &module-init-manpages-patch; + + MPFR-&mpfr-version; + + &readline-fixes-patch; 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 @@ + + 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 @@ Installation of GCC + 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. + +tar -jxf ../mpfr/&mpfr-version;.tar.bz2 && +mv mpfr-&mpfr-version; mpfr && +tar -jxf ../gmp-&gmp-version;.tar.bz2 && +mv gmp-&gmp-version; gmp + The GCC documentation recommends building GCC outside of the source directory in a dedicated build directory: @@ -53,7 +62,7 @@ cd ../gcc-build CC="gcc -B/usr/bin/" ../gcc-&gcc-version;/configure --prefix=/tools \ --with-local-prefix=/tools --disable-nls --enable-shared \ - --enable-languages=c + --enable-languages=c --disable-decimal-float The meaning of the configure options: 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 @@ + + + %general-entities; +]> + + + + + + gmp + &gmp-version; +
&gmp-url;
+
+ + GMP-&gmp-version; + + + GMP + tools + + + + + + <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 + + Prepare GMP for compilation: + +./configure --prefix=/tools --enable-mpbsd + + Compile the package: + +make + + To test the results, issue: + +make check + + Install the package: + +make install + + + + + + + <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; + + + MPFR + tools + + + + + + <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 + + Prepare MPFR for compilation: + +./configure --prefix=/tools --enable-thread-safe + + Compile the package: + +make + + To test the results, issue: + +make check + + Install the package: + +make install + + + + + + + <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; + + + GMP + + + + + + <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 + + Prepare GMP for compilation: + +./configure --prefix=/usr --enable-cxx --enable-mpbsd + + Compile the package: + +make + + + The test suite for GMP in this section is considered critical. + Do not skip it under any circumstances. + + + Test the results: + +make check + + Install the package: + +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 + + + + + + Contents of GMP + + + Installed Libraries + + + gmp.so + + + + + Short Descriptions + + + + + gmp + + Contains precision math functions. + + gmp + + + + + + + + +
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 @@ + + + %general-entities; +]> + + + + + + mpfr + &mpfr-version; +
&mpfr-url;
+
+ + MPFR-&mpfr-version; + + + MPFR + + + + + + <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 + + Prepare MPFR for compilation: + +./configure --prefix=/usr --enable-thread-safe + + Compile the package: + +make + + + The test suite for MPFR in this section is considered critical. + Do not skip it under any circumstances. + + + Test the results: + +make check + + Install the package: + +make install + + + + + + Contents of MPFR + + + Installed Libraries + + + mpfr.so + + + + + Short Descriptions + + + + + mpfr + + Contains multiple-precision math functions. + + mpfr + + + + + + + + +
diff --git a/general.ent b/general.ent index b33e8899d..bf9c5b996 100644 --- a/general.ent +++ b/general.ent @@ -1,6 +1,6 @@ - - + + diff --git a/packages.ent b/packages.ent index f2ea82969..5a0ca85f8 100644 --- a/packages.ent +++ b/packages.ent @@ -170,17 +170,17 @@ - - + + - + - - - - - - + + + + + + @@ -207,6 +207,16 @@ + + + + + + + + + + @@ -368,6 +378,16 @@ + + + + + + + + + +