On 13.3.2012 13:32, Earnie Boyd wrote:
> On Tue, Mar 13, 2012 at 4:54 AM, Kai Tietz<[email protected]>  wrote:
>> 2012/3/13 Teemu Nätkinniemi<[email protected]>:
>>> On 13.3.2012 10:26, Kyle wrote:
>>>
>>>> I have tried adding -static and -static-libstdc++ to both the LDFLAGS
>>>> and CFLAGS for FFmpeg. I have tried adding them to utvideo as well.
>>>>
>>>> I'm not sure how to force FFmpeg to compile statically, but if anyone
>>>> has any input I would greatly appreciate it!
>>>
>>> Rename libstdc++.dll.a so ld will use libstdc++.a instead.
>>
>> Better and not so hacky way to solve this is to specify option
>> '-static-libstdc++' on link for gcc's frontend.
>
> Not just hacky, the rename of .dll.a to just .a doesn't resolve
> anything and potentially removes the static library that already
> exists.  Such advice should never be given.

I meant renaming libstdc++.dll.a for example to libstdc++.dll.a.donotuse 
so that will force ld to use static version.


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to