CNI-Troubles.

Clemens Eisserer linuxhippy@web.de
Mon Aug 25 18:01:00 GMT 2003


Hi and thanks for helping me!

>Native methods in CNI are C++, so they can call other C/C++ code.  If
>you're accessing C code, the headers will have to be C++-safe.
>  
>
Yes, I´m still having troubles. As far as I understand, I can directly 
use C++-Classes out of java.
The C++-Code compliles quite fine, but when I try to compile the 
java-part gcj cant find the C++-Class.

I dont understand whats wrong, althouhgt I cant imagine how GCJ should 
know how the C++-class looks like.
I attached the files.

>That's what gnu.gcj.RawData is for.
>
Thanks, thats exactly what I searched for!

Sorry, I know these questions are all really newbie questions. I really 
didnt find such low-level infos ;-(

lg Clemens Eisserer

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cnifiles.tar.gz
Type: application/x-gzip
Size: 417 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java/attachments/20030825/27d39a4d/attachment.bin>


More information about the Java mailing list