Building shared objects with gcj on osx

Andi Vajda andi@osafoundation.org
Fri Mar 4 22:00:00 GMT 2005


> 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?

Not that I know of. The problem is not with gcj but with Apple, they changed 
some of the structures, sometimes in the middle.
Andi..
> 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 によって変換されたページ (->オリジナル) /