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: Clemens Eisserer <linuxhippy at web dot de>
- To: java at gcc dot gnu dot org
- Date: Tue, 15 Apr 2003 23:45:19 +0200
- Subject: Re: Static linking with JNI-Libs possible?
- References: <K1T87NJYSMHGFHBKEJEMGMKQMYMIU.3e9c781f@p733>
Hi!
As far as I know, JNI is totally geared towards shared libraries.
Some time ago a guru told me that he uses GCJ to make Windows-Exe-Files
with SWT, that only consitis of one file.
He said somthing like: "You only have to do sth. that the symbold are
correct exportet"
......
In my opinion, CNI is less cumbersome and more natural than JNI.
This works with mingw32 because libgcj uses it too.
CNI may be a good solution for "I´m writing a app only for me", but if
you want to reach a broad mass of developers its not useful ;-(
Thanks for your help, Clemens