[LLVMdev] Including flex/bison output in cvs

Alexander Friedman alex at inga.mit.edu
Mon Jun 27 03:29:00 PDT 2005


Hi all,

At the moment, LLVM includes the .l, .y sources that are compiled by
flex and biston via make. This is fine for most unix developers. For
windows developers, it's a bit more of a pain to download flex/bison,
but is still a one-time thing.

However, anyone releasing an llvm frontend will require their users to
have flex/bison. Most (but not all) unix boxes have them, but almost
no windows boxes have them. This requires either

1) Forcing the user to dowload flex/bison (bad)

2) Distributing flex/bison with the front-end (not as bad, but a pain)

3) or, and this seems like a simple fix, just distribute the output of
flex and bison along with the source. This is analagous to
distributing "configure" along with "configure.ac".

What do you guys think?

-- 


-Alex




More information about the llvm-dev mailing list