This is the mail archive of the java@gcc.gnu.org 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]
Other format: [Raw text]

MinGW Mixing C++ and Java


Christoph Emonds wrote:

because i need to link a C++ shared library with some Java Classes.

I came across this problem awhile back. It appears theres a hack in place to override a thread dependency within mingw. Due to this libstdc++ can not be used with libgcj. This problem caused me to give up using CNI and go back to using JNI for the application I was working on. An icky workaround that somewhat worked for what I needed was to not use new/delete and use malloc/free instead.



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