This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
MinGW Mixing C++ and Java
- From: Stanley Brown <stanley dot brown at zimmer dot com>
- To: java at gcc dot gnu dot org
- Date: Wed, 31 Mar 2004 10:41:09 -0500
- Subject: 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.