[Libav-user] reduce dll size

Michael Chisholm chisholm at mitre.org
Wed Mar 5 22:02:25 CET 2014


On 3/5/2014 4:47 AM, Carl Eugen Hoyos wrote:
> Michael Chisholm <chisholm at ...> writes:
>
>> Just throwing this out there: I see a configure script param:
>>
>> --optflags=OPTFLAGS      override optimization-related compiler flags
>>
>> You could tell the compiler to optimize for size rather than speed by
>> using -Os [1].
>
> What is wrong with the configure option "--enable-small"?
>
> It does indeed save another 30%, thank you for reminding
> us!
>
> Carl Eugen
>

Whoops, I guess I was thinking in terms of compiler commandline options, 
so I naturally looked at the section where those are configured.  One 
might even expect to find it in the "Optimization options" section... :) 
  I should have just grepped instead of eyeballing the --help output. 
So it's even easier!

Andy




More information about the Libav-user mailing list