|
From: Pablo B. K. <pb...@em...> - 2001-08-11 22:03:28
|
Hi list!
I am having some troubles here trying to chop'n'mix C++ and Java
code. It seems JNI is not smart enough to discriminate C++-mangled DLL
symbols. I am unable to get g++ or the dlltools to build std symbols
automatically when I use __stdcall__ or extern "C" {} around my
code... They always end up with C++ mangled names. Building a .def
file with translated exports works but it is starting to get
painful...
Does anybody know a way to generate unmangled symbols when using
g++? Or better, is there a way to get JNI to understand g++ mangling
convention (and get function overloading working for free)?
Cheers!
--
Pablo Bleyer Kocik |
pbleyer |"Rintrah roars & shakes his fires in the burdend
air;
@embedded.cl | Hungry clouds swag on the deep" William Blake
|