Mail Archives: djgpp/2003/02/13/06:45:14
Mhaxx <mhaxx AT despammed DOT com> wrote:
> HBB> We really will need the exact text of that error message. And at
> HBB> least a minimal amount of context information: what's your platform?
> HBB> Do you have DJGPP itself installed, or just Flex?
> I've only downloaded http://clio.rice.edu/djgpp/win2k/flx254b.zip, unzipped
> and tried to run the follow statement at MS-DOS prompt: "flex.exe" (then
> I've tried also: "flex abc.l", a file with a simplce Lex example..)
> The result is the message: "It's no possibile to run the specified program"
> (<-- my English traslation of an italian message)
You probably forgot to change to the directory where 'flex.exe' is,
before you tried this. Alternatively, you could add that directory to
the PATH environment variable.
> I have to do an exercise for one of my courses in my university (Venice,
> Italy). I need to create a scanner (with Flex) for Fortran programs and to
> create a parser (with Bison) to insert output instruction into the code at
> some particular points (usually when I find floating point operation...).
You won't get anything truly usable out of flex and bison alone: these
tools generate C sourcecode. To get an actual runnable program,
you'll have to compile that code, so you _will_ need the C compiler.
And that will need environment variables set, anyway. See the
instructions in README.1st.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -