This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Native Compile to Shared Library?
- From: Bryce McKinlay <mckinlay at redhat dot com>
- To: Michael Purdy <mpurdy at BTBOCES dot ORG>
- Cc: java at gcc dot gnu dot org
- Date: Thu, 03 Nov 2005 10:58:01 -0500
- Subject: Re: Native Compile to Shared Library?
- References: <s369dc3e.046@MAIN-EC-SRV4.btboces.org>
Michael Purdy wrote:
I'm revisiting the use of GCJ for native compilation purposes for OSX, LInux, and Windows targets. I'm wondering if I can compile a set of classes to a shared library that can be called via JNI or some other method from a Java app running via a Sun JVM.
The current state of GCJ varies on different platforms, but certainly on
Linux and OS X you should have no trouble producing .so's/.dylib's. As
for calling a GCJ library from Sun's VM, however - I really doubt this
is something you'd want to do.
Bryce