diff options
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/flex.xml | 4 |
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> |