I use mingw from here: http://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/4.7.2/32-bit/threads-posix/sjlj/x32-4.7.2-release-posix-sjlj-rev2.7z/download
And I've sucessfully managed to link statically libstdc++-6.dll
and libgcc_s_sjlj-1.dll
by using -static-libgcc -static-libstdc++
parameters, but I cannot find a command for doing the same with libwinpthread-1.dll
.