Copying the libstdc++-6.dll file from 
C:\cygwin\usr\x86_64-w64-mingw32\sys-root\mingw\bin
into the folder where the newly compiled dll is, together with my class files, 
does not removed the problem. I still have an error message.

Renaming libstdc++-6.dll in the libstdc++.dll does not change anything


François

-----Original Message-----
From: Kai Tietz [mailto:[email protected]] 
Sent: mardi, 20. septembre 2011 10:38
To: [email protected]
Subject: Re: [Mingw-w64-public] Compiling a dll for JNI and java 64 bits

Thanks,

so first question.  Is libstdc++ DLL next to the loaded DLL in search-path?
If not then just copy 64-bit libstdc++ DLL next to your DLL, so that it is 
found on load.
To avoid all this DLL mess, you can try to build this DLL static via the 
link-option '-static-libgcc -static-libstdc++' (IIRC).

Kai

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a 
definitive record of customers, application performance, security threats, 
fraudulent activity and more. Splunk takes this data and makes sense of it. 
Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to