[antlr-interest] GCJ

Ric Klaren klaren at cs.utwente.nl
Mon Jul 14 02:28:09 PDT 2003


Hi,

On Mon, Jul 14, 2003 at 12:19:32PM +1000, Robert Colquhoun wrote:
> >  And what's 2.6 Mb nowadays ;)
> >Advantage of using gcj is that it comes default nowadays with most linux
> >distributions, this unlike java for which you have to dig around first.
> >Also no classpath trouble. No trouble in figuring out you'd have to run
> >antlr.Tool etc. It would also open the opportunity for distributions to
> >ship antlr with/in place of pccts.
>
> I also looked at the 2.7.2 configure/make/make install system - that
> appears to have got out of step with the java antlr.build system.  For
> instance antlr.jar is only the runtime if built with configure/make but is
> the whole lot if done with antlr.build

That's already fixed in my devel snapshots. Ter changed this shortly before
release and I missed because I had too little time to retest the stuff
before release.

> Also java source files are kind of different from C/C++ there are no
> includes(making for a much faster compile) and dependencies can be very
> complicated it might be better if the configure/make system just compiles
> everything from scratch.  This would also get rid of the 300k java_deps
> file reducing download size.

I started to use that stuff after java screwed up dependencies on me a few
times. Maybe that it's better now. In general this makefile thing compiles
antlr's java stuff faster than default javac on all the files on my Sun.
Also it builds along all the other antlr stuff I'm interested in.

I considered using Terence's java built for it when I fixed the stuff when
I fixed it after 2.7.2 release, decided against it though since the
configure script catches some stuff that needed to be caught anyway and I
don't want to do a javac `find . *.java` etc. to do small recompiles on my
system since it's slow.

After compress that java_deps file only amounts to 23k nothing to get
excited about ;) It is generated with Bob Werken's javad (which again uses
antlr) so I have faith in the quality of the dependencies.

Currently I don't see reasons to meddle with my Makefile system anymore, it
works. At a later point I might change it to use Terence's java build tool.

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


 

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




More information about the antlr-interest mailing list