This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: ecj branch
Mohan Embar writes:
> Hi Tom,
>
> >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.
>
> This gjavah doesn't seem to be producing anything, even on
> Linux.
>
> I'm invoking it like this:
>
> gjavah -classpath . Test.class
>
> ...and like this:
>
> gjavah -classpath . -d . Test.class
>
> Am I missing something?
Yeah, I had this trouble too. I think --force fixes it, but I have no idea why.
Andrew.