ecj branch
Tom Tromey
tromey@redhat.com
Fri Dec 1 20:31:00 GMT 2006
Andrew> Tom Tromey (I'm sure he's watching) will be pleased to explain
Andrew> to you the easiest way to install the tools (ecj, gjavah etc.)
Andrew> that you need. :-)
The build is currently set up to automatically use ecj.jar if it is in
the top-level srcdir. So step one is:
cd $topsrcdir
./contrib/download_ecj
The libjava configure will pick up the ecj .jar and use it.
We probably ought to make the gjavah bits as simple to use as this.
Meanwhile you must...
Download:
http://people.redhat.com/~tromey/gcjh/tools.zip
Make a script called gjavah that uses the jar. Here's mine:
#! /bin/sh
dir=/home/tromey/gnu/Generics/Gcjh
gij -cp $dir/tools.zip \
gnu.classpath.tools.javah.Main \
${1+"$@"}
Put this in $PATH, then build as usual.
Tom
More information about the Java
mailing list