Mail Archives: djgpp/1998/06/15/00:02:24
Mapson wrote:
>
> I've been using DJGPP for a year, but only yesterday began to look in
> to GNU's flex and bison for DOS.
>
> Bison seems to create files that compile flawlessly, at least with the
> examples I've tried (even though i don't really know how to really
> make bison do anything yet!). But flex creates files that seem to
> always have two errors- both basically along the lines of:
> lexyy.c(817) Error: undefined reference to `yywrap'
Add `-lfl' to the command line; this links in a version of `yywrap'
which does essentially nothing. I haven't used `flex' in a while, but I
think it's done that way so that you can define your own `yywrap' if you
want. (I forget exactly what `yywrap' is supposed to do, it's in the
docs.)
--
Nate Eldredge
nate AT cartsys DOT com
- Raw text -