This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Static linking with JNI-Libs possible?


Hi Clemens,

As far as I know, JNI is totally geared towards shared libraries.

However, with GCJ, you can statically link using CNI, which is
explained a bit in the FAQ:

http://gcc.gnu.org/java/faq.html

In my opinion, CNI is less cumbersome and more natural than JNI.
This works with mingw32 because libgcj uses it too.

-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]