aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gcc-pass1.xml
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2010-06-22 09:25:36 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2010-06-22 09:25:36 +0000
commitea5c1d17a85285abf6d4aa8703a8eedac05c4c5c (patch)
tree955aba5d2c43145c26605c67a081fddc9709e142 /chapter05/gcc-pass1.xml
parent7696a2e71f99a5d36e9ecb96570cd959bac295d4 (diff)
Upgrade to MPFR-3.0.0. Fixes #2687.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9309 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/gcc-pass1.xml')
-rw-r--r--chapter05/gcc-pass1.xml17
1 files changed, 16 insertions, 1 deletions
diff --git a/chapter05/gcc-pass1.xml b/chapter05/gcc-pass1.xml
index af589b579..c15c95fd2 100644
--- a/chapter05/gcc-pass1.xml
+++ b/chapter05/gcc-pass1.xml
@@ -67,7 +67,8 @@ cd ../gcc-build</userinput></screen>
--disable-nls --disable-shared --disable-multilib \
--disable-decimal-float --disable-threads \
--disable-libmudflap --disable-libssp \
- --disable-libgomp --enable-languages=c</userinput></screen>
+ --disable-libgomp --enable-languages=c \
+ --with-gmp-include=$(pwd)/gmp --with-gmp-lib=$(pwd)/gmp/.libs</userinput></screen>
<variablelist>
<title>The meaning of the configure options:</title>
@@ -107,6 +108,20 @@ cd ../gcc-build</userinput></screen>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><parameter>--with-gmp-include=...</parameter></term>
+ <listitem>
+ <para>This option tells GCC where the GMP headers are located.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><parameter>--with-gmp-lib=...</parameter></term>
+ <listitem>
+ <para>This option tells GCC where the GMP library is located.</para>
+ </listitem>
+ </varlistentry>
+
</variablelist>
<para>Compile GCC by running:</para>