PDA

View Full Version : MinGW-w64 dependency on LIBGCC_S_SJLJ-1.DLL



whitefurrows
14th March 2011, 11:38
Hi,

it's possible to compile a single dll or application without LIBGCC_S_SJLJ-1.DLL?

I have try this (http://www.qtwiki.de/wiki/Mingw10.dll) but nothing happens.

whitefurrows
15th March 2011, 12:08
You have to use -static-libgcc while compiling with mingw’s g++ to elemenate the dependacy on LIBGCC_S_SJLJ-1.DLL. You can do that by:

QMAKE_LFLAGS += -static-libgcc

Hope it helps!