[antlr-interest] ANTLR 2.7.3 building errors
Ric Klaren
klaren at cs.utwente.nl
Tue Feb 10 02:30:05 PST 2004
Hi,
On Tue, Feb 10, 2004 at 08:34:26AM +1100, Robert Colquhoun wrote:
> At 04:39 AM 10/02/2004, Ric Klaren wrote:
> >It's probably due to me building my snapshots most of the time with jikes.
> >This probably means you'd need at least java 1.3 to run the class files per
> >default. I recently noticed some trouble with jikes compiled stuff and
> >older java versions.
>
> For both sun javac and jikes you can use the target flag to set this ie for
> 1.1 compatibility
> javac -target 1.1 File.java
> jikes -target 1.1 File.java
I should add those to my default settings.. thanks!
> To get antlr to build under 2.7.2 i always had to run through this procedure:
>
> cd antlr-2.7.2
> find antlr -name '*.class' -exec rm {} \;
> javac -classpath . antlr/build/*.java
> javac -classpath . antlr/J*.java
> java -classpath . antlr.build.Tool build
> java -classpath . antlr.build.Tool jar
>
> There are also interesting bootstrapping problems you end up with a
> different result i think depending on what antlr.jar is sitting in the
> build directory when you start.
Bootstrapping is a problem at times especially with a make clean thrown in
at times. Although you can set BOOTSTRAP_JAR before configuring to set a
antlr.jar for use when generating stuff after make clean.
The native gcj build has a very nasty bootstrap problem which I should
still fix. But that's not a high priority since quite a lot of native
executables still crash (without much reason).
Cheers,
Ric
--
-----+++++*****************************************************+++++++++-------
---- Ric Klaren ----- j.klaren at utwente.nl ----- +31 53 4893722 ----
-----+++++*****************************************************+++++++++-------
"Of all the things I've lost I miss my mind the most --- Ozzy Osbourne
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