This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: [Fwd: [Java-gnome-developer] Java-Gnome, ARM processors and gcj]
- From: Tom Tromey <tromey at redhat dot com>
- To: Mark Wielaard <mark at klomp dot org>
- Cc: java at gcc dot gnu dot org, Bob Fischer <bob dot fischer17 at earthlink dot net>
- Date: 26 Feb 2004 08:50:26 -0700
- Subject: Re: [Fwd: [Java-gnome-developer] Java-Gnome, ARM processors and gcj]
- References: <1077798358.1827.6.camel@localhost>
- Reply-to: tromey at redhat dot com
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