[antlr-interest] didn't manage to compile under gcj

paul taney paultaney at yahoo.com
Sat Jul 5 17:36:52 PDT 2003


--- Terence Parr <parrt at cs.usfca.edu> wrote:
> Wow.. GCJ has gotten much better...yeah I got really
> weird errors that 
> just don't make sense.  Try running it as ASTFrame
> is not really 
> needed.  Let us know if you can run antlr on a
> simple grammar file. :)


This is what I did.  Is it right?

$ cp antlr/*.java test4terr
$ cd test4terr
$ gcj --classpath $CLASSPATHGNU Tool.java

gives us a bunch of undefined reference errors.
$ ./go 2>&1 | grep "undefined" | wc -l
     53

Here's the first couple:

$ ./go
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o:
In function `_start':
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o(.text+0x18):
undefined reference to `main'
/tmp/ccwi6Ai9.o: In function `__finitQ25antlr4Tool':
/home/ptaney/antlr/antlr-2.7.2/test4terr/Tool.java(.text+0xb4):
undefined reference to
`_CL_Q45antlr11collections4impl6BitSet'

paul


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

 

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




More information about the antlr-interest mailing list