Hmmm, I still wonder if it's possible to coerce mkmf to handle .l and .y files in a general way so I can turn this into a gem. Tony On 1/1/07, Vincent Fourmond <vincent.fourmond / 9online.fr> wrote: > Tony Perrie wrote: > > I was trying to jigger this plugin to a gem, but it appears that mkmf > > doesn't detect the presence of Flex and Bison files automatically. Is > > there a supported or standard for doing such a thing? > > From my own limited experience, it is better to ship both the flex and > bison sources files and the C files produced. My belief is that most of > the time, 'it will just work'. But I have limited experience with bison, > flex and cross-platform stuff (apart from the fact that everytime I had > a friend try one of my things on a different platform, I had to give him > the C files because flex wasn't understanding the same set of options...). > > Vince > > -- > Vincent Fourmond, PhD student > http://vincent.fourmond.neuf.fr/ > >