Building shared objects with gcj on osx

Tom Tromey tromey@redhat.com
Fri Mar 4 21:27:00 GMT 2005


>>>>> "Andi" == Andi Vajda <andi@osafoundation.org> writes:

Andi> JNI libs built against the Apple JDK, ie with the Apple JDK jni.h, are
Andi> not compatible with gcj's jni.h.
Is there a bugzilla PR for this?
AndI> Also, for what it's worth, the
Andi> extension of JNI libs built with Apple's JDK are .jnilib and with gcj
Andi> are .dylib. What that means I don't know but I've not been able to get
Andi> libgcj's LoadLibrary API to work otherwise.
This extension is trivial to change -- see libjava/include/posix.h.
Could you try this out?
Tom


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /