title: How can I use flex on windows?
body: <p>I'm trying to compile a project on windows and it uses flex/bison.</p>
  
  <p>Compiling the flex and bison files went fine after I installed MinGW, but when I get to the final step of the build of:</p>
  
  <pre><code>g++ -o hexciting CommandParser.tab.o CommandParser.yy.o Command.o -lfl
  </code></pre>
  
  <p>It says the library can't be found.</p>
  
  <p>After some time on google, I tried changing the flag to -llibfl.a, but this library was also unable to be found.</p>
  
  <p>How can I either get a copy of this library or build one myself?</p>