[FFmpeg-devel] [PATCH] Enable simultaneous build of static & dynamic libraries on mingw32

Måns Rullgård mans
Sat May 12 18:52:11 CEST 2007


"Zuxy Meng" <zuxy.meng at gmail.com> writes:

> Hi,
>
> 2007/5/13, M?ns Rullg?rd <mans at mansr.com>:
>> "Zuxy Meng" <zuxy.meng at gmail.com> writes:
>>
>> > Hi,
>> >
>> > 2007/5/13, M?ns Rullg?rd <mans at mansr.com>:
>> >> "Zuxy Meng" <zuxy.meng at gmail.com> writes:
>> >>
>> >> > Hi,
>> >> >
>> >> > The original thread is now quite off-topic:-) Anyway I've tested on
>> >> > mingw32 and got both libraries built.
>> >>
>> >> What are the file sizes of the libraries you got?
>> >
>> > You guess I got confused by static lib and import lib?
>>
>> I'm not guessing anything.  Building both types was disabled because
>> the linker did something silly that could be seen from the lib sizes.
>>
>> >  C:\MSYS\source\ffmpeg\libavcodec
>> >
>> > 2007-05-13  00:15         4,637,298 libavcodec.a
>> > 2007-05-13  00:15           577,302 libavcodec.dll.a
>> >
>> >  C:\MSYS\source\ffmpeg\libavcodec
>> >
>> > 2007-05-13  00:15         4,406,722 avcodec-51.dll
>> > 2007-05-13  00:15         4,406,722 avcodec.dll
>>
>> And the rest of the libs?
>
> C:\MSYS\source\ffmpeg>dir *.a /s

OK, those look sane.  The linker used to include all of libavcodec in
the libavformat dll, IIRC.  Has there been a new binutils release in
the past few months, or did some makefile change happen to fix this?

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list