[antlr-interest] Re: compiling output

Mark markl at glyphic.com
Fri Apr 2 12:54:21 PST 2004


--- In antlr-interest at yahoogroups.com, ronald.petty at m... wrote:
> If Antlr produces a lexer/parser, is it ok to expect it will compile 
> without errors? 
Yes, but only after you build and install the antlr C++ support library!  

In order to compile antlr generated C++ you'll need to have access to the C++ antlr 
include files, and to link you'll need access to the antlr support lib.  If you install antlr, 
these are put in /usr/local/linclude/antlr/*.hpp and /usr/local/lib/libantlr.a.  The C++ 
compiler should find them there.

If you don't want to install antlr on your system, you'll still need to build the lib, and set up 
your compile environment to search for includes in lib/cpp in the antlr distribution (or 
wherever you copied it to.), and you'll probably have to mention libantlr.a (wherever you 
put it) by hand.

- Mark




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
     antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 



More information about the antlr-interest mailing list