This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Static linking with JNI-Libs possible?
- From: Mohan Embar <gnustuff at thisiscool dot com>
- To: java at gcc dot gnu dot org, Clemens Eisserer <linuxhippy at web dot de>
- Date: Tue, 15 Apr 2003 16:22:39 -0500
- Subject: Re: Static linking with JNI-Libs possible?
- Reply-to: gnustuff at thisiscool dot com
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/