aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
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 /chapter06
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 'chapter06')
-rw-r--r--chapter06/bison.xml5
-rw-r--r--chapter06/chapter06.xml1
-rw-r--r--chapter06/glibc.xml4
3 files changed, 10 insertions, 0 deletions
diff --git a/chapter06/bison.xml b/chapter06/bison.xml
index def441043..238d4174f 100644
--- a/chapter06/bison.xml
+++ b/chapter06/bison.xml
@@ -40,6 +40,11 @@
<sect2 role="installation">
<title>Installation of Bison</title>
+ <para>Fix an issue with the testsuite, which doesn't correctly handle
+ certain output from GCC-&gcc-version;:</para>
+
+<screen><userinput remap="pre">patch -Np1 -i ../&bison-gcc-patch;</userinput></screen>
+
<para>Prepare Bison for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml
index 7b34fca68..c30f82bb0 100644
--- a/chapter06/chapter06.xml
+++ b/chapter06/chapter06.xml
@@ -25,6 +25,7 @@
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="binutils.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gmp.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mpfr.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mpc.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="file.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gcc.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sed.xml"/>
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml
index a5c6716c8..31a95168c 100644
--- a/chapter06/glibc.xml
+++ b/chapter06/glibc.xml
@@ -92,6 +92,10 @@ unset DL</userinput></screen>
<screen><userinput remap="pre">sed -i 's|@BASH@|/bin/bash|' elf/ldd.bash.in</userinput></screen>
+ <para>Fix a bug that prevents Glibc from building with GCC-&gcc-version;:</para>
+
+<screen><userinput>patch -Np1 -i ../&glibc-gcc_fix-patch;</userinput></screen>
+
<para>The Glibc documentation recommends building Glibc outside of the source
directory in a dedicated build directory:</para>