DLLs require access to libgcc_s_sjlj-1.dll and libwinpthread-1.dll
Closed this issue · 5 comments
A DLL built with NG requires the files "libgcc_s_sjlj-1.dll" and "libwinpthread-1.dll".
If you MinGW installation is reachable through a set PATH it will run of course. But on other systems you need to pack these files next to the NG-built-DLL.
Is there a way to circumvent that? By including some files straight into the DLL source before building? Looks a bit "cluttered" to have to supply multiple files - not to talk about the uncertainty of missing other DLL files.
We get around it in apps by providing -static
, but I don't think that works for DLLs.
maybe that helps?
Maybe :-)
Thanks. I'll check it out later.
Seems to work (at least, according to Dependencies
.
Dunno if it is a similar issue.
My wx-max-based application requires a "libstdc++-6.dll" to execute properly. Can it be statically linked too?