aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2009-05-10 11:56:47 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2009-05-10 11:56:47 +0000
commit6ef6d2cce86dc8a3397a106d59f32e379fc43660 (patch)
treebc5e45b457521db9943c4937eee9c751f7c1cf7e /chapter06
parentc273dc4d1763f00b408b0733884b829b82c158ad (diff)
Upgrade to GCC-4.4.0.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8858 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/flex.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/chapter06/flex.xml b/chapter06/flex.xml
index 94d8af1fd..f31aecbe2 100644
--- a/chapter06/flex.xml
+++ b/chapter06/flex.xml
@@ -41,6 +41,10 @@
<sect2 role="installation">
<title>Installation of Flex</title>
+ <para>Apply a patch that fixes a bug in the C++ scanner generator, that causes scanner compilation to fail when using GCC-&gcc-version;:</para>
+
+<screen><userinput remap="pre">patch -Np1 -i ../&flex-gcc-patch;</userinput></screen>
+
<para>Prepare Flex for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>