diff options
Diffstat (limited to 'chapter05/gcc-pass1.xml')
-rw-r--r-- | chapter05/gcc-pass1.xml | 17 |
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> |