| 1 |
|
| 2 |
Ragel State Machine Compiler -- README |
| 3 |
====================================== |
| 4 |
|
| 5 |
1. Build Requirements |
| 6 |
--------------------- |
| 7 |
|
| 8 |
* Make |
| 9 |
* g++ |
| 10 |
|
| 11 |
If you would like to modify Ragel and need to build Ragel's scanners and |
| 12 |
parsers from the specifications then set "build_parsers=yes" the DIST file and |
| 13 |
reconfigure. This variable is normally set to "no" in the distribution tarballs |
| 14 |
and "yes" in version control. You will need the following programs: |
| 15 |
|
| 16 |
* ragel (the most recent version) |
| 17 |
* kelbt (the most recent version) |
| 18 |
|
| 19 |
To build the user guide set "build_manual=yes" in the DIST file and |
| 20 |
reconfigure. You will need the following extra programs: |
| 21 |
|
| 22 |
* fig2dev |
| 23 |
* pdflatex |
| 24 |
|
| 25 |
2. Compilation and Installation |
| 26 |
------------------------------- |
| 27 |
|
| 28 |
Ragel uses autoconf and automake. |
| 29 |
|
| 30 |
$ ./configure --prefix=PREFIX |
| 31 |
$ make |
| 32 |
$ make install |