gcc - libgcc_s_dw2.dll is missing when running executeable file on different machine -
i running executable different , error (program can not find libcc_s_dw2.dll). appreciated.
the libgcc_s_dw2.dll
ist part of mingw runtime.
you have 2 ways fix this:
- copy
libgcc_s_dw2.dll
program's folder (where exe is) or systempath
- compile program
-static-libgcc
(and-static-libstdc++
if c++) flag.
if choose 1., , don't have file: can download here (libgcc-4.7.2-1-mingw32-dll-1.tar.lzma
).
this mingw gcc 4.7.2, other versions of file have browse website bit. if application crashes, have (= correct) version. best check gcc version has been used before.
Comments
Post a Comment