aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
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>