This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ecj branch


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]