Hi list,
I successfully compiled the C runtime for ANTLR with VS 2010.
Now I want to compile the generated code (Lexer and Parser) with this
command:
g++ -Iantlrinclude -static -L. -lantlr3c RtfLexer.c RtfParser.c
as you may notice, antlr.h and all includefiles are in antlrinclude and
the antlr3c.lib (copied from the Release dir of VS solution) lies in the
current working dir. I would like to include the runtime statically
("-static").
But it throws:
C:\Users\Yves\AppData\Local\Temp/ccctgQP2.o:RtfLexer.c:(.text+0xb9):
undefined reference to `antlr3LexerNewStream'
which makes me believe the library is not correctly linked... what is
wrong here?
Best regards, Yves

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

-- 
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to il-antlr-inter...@googlegroups.com.
To unsubscribe from this group, send email to 
il-antlr-interest+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to