[Fwd: [Java-gnome-developer] Java-Gnome, ARM processors and gcj]
Tom Tromey
tromey@redhat.com
Thu Feb 26 16:02:00 GMT 2004
Bob> 2. It would be nice if JNI on cross-compiler GCJs just worked in the
Bob> future. However, we cannot count on that for now. In the meantime,
Bob> there should be a special option for Java-Gnome + GCJ. This would
Bob> include:
Bob> a) Linking the JNI code and Java classes into the same .so library.
Bob> b) Removing calls to System.loadLibrary() from the static initializers.
This has come up several times for gcj. I thought that perhaps
libltdl pre-linking would solve this problem, but I'm still not sure
that anybody has actually tried this.
We would need to teach libgcj's configure to recognize host-x-host
situations so that libltdl continues to work. I think we already have
some host-x-host stuff in configure.in, this probably won't be too
hard. I can provide some pointers if someone wants to tackle this,
otherwise let's at least file it in bugzilla.
Bob> 3. One might consider building CNI bindings for the GTK+ calls, rather
Bob> than the current JNI bindings.
Does java-gnome auto-generate its bindings? Or are they hand written?
I'd imagine it would be easy to turn auto-generated bindings into CNI.
Tom
More information about the Java
mailing list