[antlr-interest] Problem linking C++ generated parser
John Williams
jr.williams at tiscali.co.uk
Sun Sep 4 10:27:32 PDT 2005
I have a requirement to build a parser in both Java and C++ under
Windows and Linux and Antlr 2.7.5 seems to be the answer. My first
attempts have been in Windows 2000, the generated Java is fine. My
problem is the generated C++ source files. Compilation is fine but
linking is the problem. I have tried cygwin, mingw and Visual C++ (V6)
but all cases I am encountering linker problems. Am I right in assuming
the ".a" file should be used in cygwin and the .lib in VC? To save
wasting time posting the error messages, is there a known problem with
linking Antlr generated C++ files?
Thanks for any help you can give.
John
More information about the antlr-interest
mailing list