aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gcc-pass1.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/gcc-pass1.xml')
-rw-r--r--chapter05/gcc-pass1.xml11
1 files changed, 10 insertions, 1 deletions
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 &amp;&amp;
+mv mpfr-&mpfr-version; mpfr &amp;&amp;
+tar -jxf ../gmp-&gmp-version;.tar.bz2 &amp;&amp;
+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>