how to compile using ragel

iceman jegan... at gmail.com
Tue Sep 11 03:48:12 UTC 2007


hi all,
i am a newbie to ragel..
i tried to compile a program[example 1]  in the user manual into cpp
code.
i used the command
./ragel -C micheal.rl>micheal.cpp
tried to run it using g++
but i kept getting the error

micheal.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
micheal.cpp:1: error: expected unqualified-id before '<' token
micheal.cpp:11: error: expected unqualified-id before '<' token

so what  am i doing wrong?
is the command  wrong?



More information about the ragel-users mailing list