On Wed, 2005-08-17 at 16:57 +0100, Robin Green wrote:
>> Rebuild your code with -findirect-dispatch and it will
work.
>
> Ok. Compiled from .java --> .o with that option and now it does
> the same thing as when I run it via gij.
>
> Which is weird, since the gcj man page has this to say:
>
> | Note that, at present, "-findirect-dispatch" can only be used
> | when compiling .class files. It will not work when compiling
> | from source.
Right. What I think Anthony *meant* was, follow the instructions on this
page:
http://gcc.gnu.org/wiki/How%20to%20BC%20compile%20with%20GCJ
Hmm.. no, I really did mean compile your .java file with
-findirect-dispatch and it works. Omit the -findirect-dispatch and the
program fails.
I don't know how to reconcile this with the advice in the gcj man page.
AG