What compiler can I use to build/run an flex scanner? I tried mircle and visual studio 2010 neither one would run the program. I have until mid night tomorrow to workout all the bugs and submit them.

Thanks in advance

Recommended Answers

All 2 Replies

I think you can use gcc for the purpose along with flex...
Check out the links below:
Link1
Link2

What compiler can I use to build/run an flex scanner? I tried mircle and visual studio 2010 neither one would run the program.

I think you can use gcc for the purpose along with flex...

Most C compilers should readily compile the code that flex generates. By "run the program" did you mean "scan some input and run it through the generated lexer"? Or something else?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.