aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gcc-pass2.xml
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2010-04-20 20:08:12 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2010-04-20 20:08:12 +0000
commit49168420d4a3d3e6b8050db9239724c774c2058a (patch)
tree647b0c78cc7c230d60ccf410d796206f614a0570 /chapter05/gcc-pass2.xml
parentec52ebbe6f1d52a04dc500e17bbb66f988178751 (diff)
Upgrade to GCC-4.5.0, including the addition of its new dependency, MPC. Fixes #2636.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9254 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/gcc-pass2.xml')
-rw-r--r--chapter05/gcc-pass2.xml11
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>