Hi,

On Mon, May 05, 2014, YIRAN LI wrote:
> Hi,
> 
> I'm building an opensource project on mingw32 and found the generated dll
> depends on  libgcc_s_sjlj-1.dll. The function referenced is __divdi3.
> 
> I tried to add ldflags = -static- libgcc, but seems it doesn't work.
> 
> Could any one let me know how can I get rid of this dependency?

Not something I usually do and top of my head, so this might not be
enough. The flags you use should rather be "-static -static-libgcc"
(both of them and notice the different spelling).

HTH,
Adrien Nader

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to