GCJ: Is it possible to call C++ from Java using GCJ CNI?

Gareth Buxton gareth.buxton@googlemail.com
Mon Apr 28 16:34:00 GMT 2008


Hi,
I have been trying to find out how to call C++ code from Java using
CNI. Is this at all possible?

I found this page in the documentation which suggests a possible way:

http://gcc.gnu.org/onlinedocs/gcj/Interfaces.html#Interfaces

But I have been unable to make anything  work using this. Are there
any code examples?

Regards,

- Gareth
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20080428/c53adb13/attachment.sig>


More information about the Gcc-help mailing list