diff options
Diffstat (limited to 'chapter05/gcc-pass2.xml')
-rw-r--r-- | chapter05/gcc-pass2.xml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/chapter05/gcc-pass2.xml b/chapter05/gcc-pass2.xml index 76107dddb..872ab2213 100644 --- a/chapter05/gcc-pass2.xml +++ b/chapter05/gcc-pass2.xml @@ -128,13 +128,16 @@ done</userinput></screen> ;; esac</userinput></screen> - <para>As in the first build of GCC it requires the GMP and MPFR packages. - Unpack the tarballs and move them into the required directory names:</para> + <para>As in the first build of GCC it requires the GMP, MPFR and MPC + packages. Unpack the tarballs and move them into the required directory + names:</para> <screen><userinput remap="pre">tar -jxf ../mpfr-&mpfr-version;.tar.bz2 mv -v mpfr-&mpfr-version; mpfr tar -jxf ../gmp-&gmp-version;.tar.bz2 -mv -v gmp-&gmp-version; gmp</userinput></screen> +mv -v gmp-&gmp-version; gmp +tar -zxf ../mpc-&mpc-version;.tar.gz +mv -v mpc-&mpc-version; mpc</userinput></screen> <para>Create a separate build directory again:</para> @@ -226,7 +229,7 @@ cd ../gcc-build</userinput></screen> <para>Compile the package:</para> -<screen><userinput remap="make">make</userinput></screen> +<screen><userinput remap="make">make LD_LIBRARY_PATH=$(pwd)/$(../gcc-&gcc-version;/config.guess)/libgcc</userinput></screen> <para>Install the package:</para> |