This is the mail archive of the java-discuss@sourceware.cygnus.com 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]

2 questions...


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.





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