[fedora-java] Re: Java OpenGL on FC4

Andrew Haley aph at redhat.com
Thu Aug 18 09:27:14 UTC 2005


Anthony Green writes:
 > 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.

That's a bug which Tom Tromey fixed two days ago.

 > I don't know how to reconcile this with the advice in the gcj man page.

Don't compile source with -findirect-dispatch.  This should be an
error in 4.1, and fixed soon after that.

Andrew.




More information about the fedora-devel-java-list mailing list