[Ffmpeg-devel] trying to reduce the binary size when few mpegvideo codecs are built.

Michael Niedermayer michaelni
Tue Oct 10 22:08:25 CEST 2006


Hi

On Tue, Oct 10, 2006 at 09:34:15PM +0200, Reimar D?ffinger wrote:
> Hello,
> On Tue, Oct 10, 2006 at 08:56:21PM +0200, pecno rabane wrote:
> > I am working on an embeded OS, and devices with limited memory. (no secret it's rockbox for ipods, irivers, and other dap)
> > We are working on mpeg2 video codec, but actually the binary size when you only select mpeg2 is around 1,5 megs, when building just the apiexemple.c .
> 
> Did you try compiling with
> -ffunction-sections -fdata-sections -Wl,--gc-sections

feature req: configure should add these automatically if supported and
a significant number of codecs is disabled

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is




More information about the ffmpeg-devel mailing list