2014-05-05 17:32 GMT+10:00 lh_mouse <lh_mo...@126.com>:

> 0) Try -static first. I have been using this option since long ago and it
> never fails;
> 1) Try -static-libgcc -static-libstdc++. These two should be used
> together. Using only one of them does not work, at least on my machine.
> 2) There is no space in '-static-libgcc'.
>
>
Thanks, I used -static, but seems it causes the project to generate static
libs instead of dlls. I think it should be the problem of the project
(libtheora) and I've sent out a mail to libtheora's mail list.


------------------
> Best regards,
> lh_mouse
> 2014-05-05
>
> -------------------------------------------------------------
> 发件人:YIRAN LI <mrfun.ch...@gmail.com>
> 发送日期:2014-05-05 15:19
> 收件人:mingw-w64-public
> 抄送:
> 主题:[Mingw-w64-public] how to remove libgcc_s_sjlj-1.dll dependency
>
> 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?
>
> Thanks
>
>
>
> ------------------------------------------------------------------------------
> Is your legacy SCM system holding you back? Join Perforce May 7 to find
> out:
> &#149; 3 signs your SCM is hindering your productivity
> &#149; Requirements for releasing software faster
> &#149; 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
>
------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; 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