|
@@ -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>
|