diff options
author | Randy McMurchy <randy@linuxfromscratch.org> | 2008-10-03 20:14:18 +0000 |
---|---|---|
committer | Randy McMurchy <randy@linuxfromscratch.org> | 2008-10-03 20:14:18 +0000 |
commit | 6cc051651b1fe70f88a8d92387ebe1dde9810c8b (patch) | |
tree | 3037f51992393c1116a1c724f881518f97c33584 /chapter05/gcc-pass1.xml | |
parent | 0c051c7ab79cff85bd421c8f8d265408a0793e93 (diff) |
Updated GCC to 4.3.2 which includes adding the GMP-4.2.4 and MPFR-2.3.2 packages - This new version of GCC requires the added packages - Thanks to DJ Lucas for the stimulus and initial work resulting in this and all of the other package updates coming up
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8562 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/gcc-pass1.xml')
-rw-r--r-- | chapter05/gcc-pass1.xml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/chapter05/gcc-pass1.xml b/chapter05/gcc-pass1.xml index 4589d28fe..663d8576b 100644 --- a/chapter05/gcc-pass1.xml +++ b/chapter05/gcc-pass1.xml @@ -43,6 +43,15 @@ <sect2 role="installation"> <title>Installation of GCC</title> + <para>GCC now requires the GMP and MPFR packages. As these packages may + not be included in your host distribution, they will be built with + GCC.</para> + +<screen><userinput remap="pre">tar -jxf ../mpfr/&mpfr-version;.tar.bz2 && +mv mpfr-&mpfr-version; mpfr && +tar -jxf ../gmp-&gmp-version;.tar.bz2 && +mv gmp-&gmp-version; gmp</userinput></screen> + <para>The GCC documentation recommends building GCC outside of the source directory in a dedicated build directory:</para> @@ -53,7 +62,7 @@ cd ../gcc-build</userinput></screen> <screen><userinput remap="configure">CC="gcc -B/usr/bin/" ../gcc-&gcc-version;/configure --prefix=/tools \ --with-local-prefix=/tools --disable-nls --enable-shared \ - --enable-languages=c</userinput></screen> + --enable-languages=c --disable-decimal-float</userinput></screen> <variablelist> <title>The meaning of the configure options:</title> |