x86_64-w64-mingw32-g++ options -static-libgcc -static-libstdc++ seems to broken at gcc 9.3.0
"Michael Ellis" <[email protected]> Fri, 04 Sep 2020 07:57:03 +0000
| Newsgroups | gmane.comp.gnu.mingw.user |
|---|---|
| Message-ID | <[email protected]> |
When using x86_64-w64-mingw32-g++ to build a shared library on OS-X for deployment on Windows, it fails to include libstc++-6.dll, libwinpthread-1.dll and libgcc_s_seh.dll even when the options -static-libgcc -static-libstdc++ are specified Adding these shared libraries into the same folder as the deployed application allows the program to execute as it should. A full SSCCE example can be seen here: https://gitlab.com/Michael51773/mingwwindowssharedlibbug (https://gitlab.com/Michael51773/mingwwindowssharedlibbug) Using: x86_64-w64-mingw32-gcc/g++9.3.0 (GCC) (download with brew install mingw-w64) Any help with this would be gratefully received. -- Michael Ellis _______________________________________________ MinGW-Users mailing list [email protected] This list observes the Etiquette found at http://www.mingw.org/Mailing_Lists. We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated. _______________________________________________ You may change your MinGW Account Options or unsubscribe at: https://lists.osdn.me/mailman/listinfo/mingw-users Also: mailto:[email protected]?subject=unsubscribe