Reputation: 31
We need to create .c file from .l (lax) and .y (yacc) file using visual studio 1o on windows 2008. We cant use Cygwin at all. Where does Flex and bison come into picture here ? Even Flex and Bison use cygwin internally or not ? how are we supposed to go about it ?
Upvotes: 1
Views: 995
Reputation: 5893
You can download a windows version of flex from sourceforge and bison from sourceforge, you then need to add them to the PATH environment variable. Be sure not to have a space in the install directory (i.e. do not put in C:\Program Files\ etc). You can then build the output with CL from visual studio command line tools if you wish.
As previously mentioned MinGw is another option.
I have even made a YouTube Video showing the install of these packages!
Upvotes: 1