From 6cc051651b1fe70f88a8d92387ebe1dde9810c8b Mon Sep 17 00:00:00 2001 From: Randy McMurchy Date: Fri, 3 Oct 2008 20:14:18 +0000 Subject: 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 git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8562 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/chapter05.xml | 2 ++ chapter05/gcc-pass1.xml | 11 +++++++- chapter05/gmp.xml | 72 +++++++++++++++++++++++++++++++++++++++++++++++++ chapter05/mpfr.xml | 72 +++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 156 insertions(+), 1 deletion(-) create mode 100644 chapter05/gmp.xml create mode 100644 chapter05/mpfr.xml (limited to 'chapter05') 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> -- cgit v1.2.3-54-g00ecf