Hi guys,
I'm compiling on MingW-W64 and had a problem in using -Wl,--gc-setions.
I'm compiling 2 files into a shared library: a.c which contains a1, a2 and
b.c which contains b1 b2.
I used --fdata-sections -ffunction-setions to put each function into a
separate text section and by dumpbin I coul
2014-05-05 22:16 GMT+10:00 Teemu Nätkinniemi :
> On 5.5.2014 10:19, YIRAN LI wrote:
> > 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 ldfl
2014-05-05 20:42 GMT+10:00 Rafaël Carré :
> On 05/05/14 09:19, 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
2014-05-05 18:28 GMT+10:00 Alexpux :
>
> 05 мая 2014 г., в 12:22, YIRAN LI написал(а):
>
>
>
>
> 2014-05-05 17:32 GMT+10:00 lh_mouse :
>
>> 0) Try -static first. I have been using this option since long ago and it
>> never fails;
>> 1) Try -static-lib
-
> Best regards,
> lh_mouse
> 2014-05-05
>
> -----
> 发件人:YIRAN LI
> 发送日期:2014-05-05 15:19
> 收件人:mingw-w64-public
> 抄送:
> 主题:[Mingw-w64-public] how to remove libgcc_s_sjlj-1.dll dependency
>
> Hi,
>
> I
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
---
Hi friends,
I'm now moving my ffmpeg build from MinGW to Mingw-w64 because the latter
supports delay load. To be a bit more specific, ffmpeg could dynamically
link to many external libraries, but I want these external libs be
downloaded and used only when they are used (functions called).
For exa