DISTCLEANFILES = makerpm re2c.spec README scanner.cc re2c$(EXEEXT)
-EXTRA_DIST = $(man_MANS) README parser.y scanner.re makerpm.in re2c.spec.in \
- re2c.spec README.in y.tab.h CHANGELOG \
+EXTRA_SRC = $(man_MANS) README parser.y scanner.re y.tab.h CHANGELOG \
doc examples test
-EXTRA_ZIP = $(EXTRA_DIST) config_w32.h *.sln *.vcproj bootstrap/*.cc bootstrap/*.h
+EXTRA_DIST = $(EXTRA_SRC) makerpm.in re2c.spec.in re2c.spec README.in
+EXTRA_ZIP = $(EXTRA_SRC) config_w32.h *.sln *.vcproj bootstrap/*.cc bootstrap/*.h
dist-hook: re2c.spec
rm -rf `find $(distdir)/doc -name CVS`
rpm: dist
rpmbuild -ta re2c-$(PACKAGE_VERSION).tar.gz
-zip: $(EXTRA_ZIP)
- test -f re2c-$(PACKAGE_VERSION).zip && rm -f re2c-$(PACKAGE_VERSION).zip
- zip -q -o -9 re2c-$(PACKAGE_VERSION).zip $(re2c_SOURCES) $(EXTRA_ZIP)
+zip: $(bin_PROGRAMS) $(EXTRA_ZIP)
+ if test -f re2c-$(PACKAGE_VERSION)-src.zip; then rm -f re2c-$(PACKAGE_VERSION)-src.zip; fi
+ zip -q -o -9 re2c-$(PACKAGE_VERSION)-src.zip $(re2c_SOURCES) $(EXTRA_ZIP)
parser.cc: $(top_srcdir)/parser.y
$(YACC) $(YFLAGS) $< || exit
http://sourceforge.net/projects/re2c/
-This distribution is a cleaned up version of the 0.5 release. Several
-bugs were fixed as well as code cleanup for warning free compilation.
-It has been developed and tested with egcs 1.0.2 and gcc 2.7.2.3, 2.96
-and 3.3.1 on Linux x86. You can compile your own version with other gcc
-version if you have yacc or any working bison version (tested up to bison
-1.875).
+re2c has been developed and tested with gcc 3.3 to 4.0.2, Microsoft and Intel
+compilers on various platforms. Building re2c requires autoconf 2.57 and bison
+(tested with 1.875 and later). Under windows you don't need autoconf or bison
+and can use the pregenerated files.
You can build this software by simply typing the following commands:
./autogen.sh
./makerpm <release>
rpm -Uhv <packagedir>/re2c-@PACKAGE_VERSION@-<release>.rpm
+Here <realease> should be a number like 1. And <packagedir> must equal
+the directory where the makerpm step has written the generated rpm to.
+
If you are on a debian system you can use the tool 'alien' to convert rpms
to debian packages.
-Here <realease> should be a number like 1. And <packagedir> must equal
-the directory where the makerpm step has written the generated rpm to.
+If you want to build re2c on a windows system you can either use cygwin and one
+of the methods described above or use Microsoft Visual C .NET 2002 or later
+with the solution files provided (re2c.sln for 2002/2003 and re2c-2005.sln for
+version 2005). re2c cannot be built with Microsoft Visual C 6.0 or earlier.
re2c is a great tool for writing fast and flexible lexers. It has
served many people well for many years. re2c is on the order of 2-3
<li>gcc-Version 3.4.0 (IRIX)</li>
<li>gcc-Version 3.3.5 (Debian 1:3.3.5-13)</li>
<li>MIPSpro Compilers: Version 7.4.4m</li>
-<li>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.00.9466 for 80x86 (Microsoft Visual C 2002)</li>
<li>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for 80x86 (Microsoft Visual C 2005)</li>
+<li>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.00.9466 for 80x86 (Microsoft Visual C 2002)</li>
<li>Intel(R) C++ Compiler for 32-bit applications, Version 9.0 Build 20051130Z Package ID: W_CC_C_9.0.028</li>
</ul>
+<ul>
+<li>bison 2.1, 1.875d, 1.875b, 1.875
+</ul>
<hr />
<h1>Changelog</h1>
-<h2>2006-??-??: 0.10.0</h2>
+<h2>2006-01-31: 0.10.0-rc1</h2>
<ul>
<li>Added make target zip to create windows source packages as zip files.</li>
<li>Added re2c:startlabel configuration.</li>
<li>Added hexadecimal character definitions.</li>
<li>Added consistency check for octal character definitions.</li>
</ul>
-<h2>2005-06-26: 0.9.8 released</h2>
+<h2>2005-06-26: 0.9.8</h2>
<ul>
<li>Fixed code generation for -b switch. </li>
<li>Added Microsoft Visual C .NET build files.</li>
</ul>
-<h2>2005-04-30: 0.9.7 released</h2>
+<h2>2005-04-30: 0.9.7</h2>
<ul>
<li>Applied #1181535 storable state patch.</li>
<li>Added -d flag which outputs a debugable parser.</li>
<li>Fixed bug #1187785 Re2c fails to generate valid code.</li>
<li>Fixed bug #1187452 unused variable `yyaccept'.</li>
</ul>
-<h2>2005-04-14: 0.9.6 released</h2>
+<h2>2005-04-14: 0.9.6</h2>
<ul>
<li>Fix build with gcc >= 3.4.</li>
</ul>
-<h2>2005-04-08: 0.9.5 released</h2>
+<h2>2005-04-08: 0.9.5</h2>
<ul>
<li>Added /*!max:re2c */ which emits a '#define YYMAXFILL <max>\n' line
This allows to define buffers of the minimum required length. Occurence must
<li>Fixed bug #1163046 re2c hangs when processing valid re-file.</li>
<li>Fixed bug #1022799 re2c scanner has buffering bug.</li>
</ul>
-<h2>2005-03-12: 0.9.4 released</h2>
+<h2>2005-03-12: 0.9.4</h2>
<ul>
<li>Added --vernum support.</li>
<li>Fixed bug #1054496 incorrect code generated with -b option.</li>
<li>Fixed bug #999103 Invalid options prefixed with two dashes cause program
crash.</li>
</ul>
-<h2>2004-05-26: 0.9.3 released</h2>
+<h2>2004-05-26: 0.9.3</h2>
<ul>
<li>Fixes one small possible bug in the generated output. ych instead of yych
is output in certain circumstances</li>
</ul>
-<h2>2004-05-26: 0.9.3 released</h2>
+<h2>2004-05-26: 0.9.3</h2>
<ul>
<li>Fixes one small possible bug in the generated output. ych instead of yych
is output in certain circumstances.</li>
</ul>
-<h2>2004-05-26: 0.9.2 released</h2>
+<h2>2004-05-26: 0.9.2</h2>
<ul>
<li>Added -o option to specify the output file which also will set the #line
directives to something useful.</li>
<li>Fixed bug #869298 Add case insensitive string literals.</li>
<li>Fixed bug #869297 Input buffer overrun.</li>
</ul>
-<h2>2003-12-13: 0.9.1 release</h2>
+<h2>2003-12-13: 0.9.1</h2>
<ul>
<li>Removed rcs comments in source files.</li>
</ul>