Mingw build - depends on DLL not native to windows
The -static
flag may be what you're looking for. (It still looks funny to me to use both -static
and -shared
on the same line, but they are not opposites.)
If you would use g++
as a driver instead of gcc
, you could instead use the -static-libstdc++
flag.