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.
精彩评论