开发者

My flex/yacc program compiles differently on two different linux machines

One one machine, everything compiles fine. On another machine, it complai开发者_运维百科ns about the -ly option when I use gcc to create the output file. If I remove the -ly option, then it makes the program, but then it runs differently. What's happening. How can I get the program to run correctly on this linux machine?


You should check to see if you have the same flex/bison versions...


YACC program options (and generated output) vary from OS to OS. Bison might be more consistent.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜