This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
2 questions...
- To: java-discuss@sourceware.cygnus.com
- Subject: 2 questions...
- From: simon@unique-id.com
- Date: Thu, 03 Jun 1999 12:58:19 +0100
- Organization: Unqiue ID Software Ltd
Hi all,
I've been playing with gcj, and I'm pretty damn impressed. I do have a
couple of questions though...
1)
Is there a mail archive anywhere, so that I don't have to ask questions
that have already been asked ? If there isn't I may set one up...
2)
Is it possible to link with other object files, say I wanted to link
with
libTIFF.a (or .so). Presumably there are calling conventions for
accessing other native code ?
My understanding of JNI is that I need to do special things in my
native code in order to have them called by Java. The CNI interface
seems similar.
I guess what I'm asking is... is it possible to (for example) convert
from the java.lang.String class to a char* transparently ?
I suppose I could always write a JNI/CNI wrapper for any library
access, but it would be nice <grin> if it was all done for me :-)
(Yeah, I'm lazy)
ATB,
Simon.