[vorbis-dev] Executable size with vorbis.

Olaf van der Spek Olaf at XCC.TMFWeb.NL
Wed Aug 8 17:09:10 PDT 2001



----- Original Message -----
From: "Chris Nuernberger" <nuernber at colorado.edu>
To: <vorbis-dev at xiph.org>
Sent: Thursday, August 09, 2001 1:53 AM
Subject: [vorbis-dev] Executable size with vorbis.

> Hey, this is Chris from Anark, and we would love to use your tools in some
> of our commercial applications.  I wrote a compressor/decompressor and
> noticed that the size of the executable was rather large.  This is
actually
> going to be made into part of a project that needs to be small, i.e right
> now it is 2 megs total and that is far too large.  The part that needs to
be
> small 'could' only decompress, with the compression routines needed in a
> different piece of software.  Does anyone have any ideas on how to reduce
> the size of the libraries?  If we limited compression to only 128 kbps,
> could we then eliminate some options?  We are willing to eliminate most
> flexibility in order to achieve this.
>
> I noticed that the static libs are huge ~.5megs a piece.  Is there
anything
> we could cut out to make them smaller?  I threw all of the code into one
> static lib and (after fixing quite a few compiler errors) noticed that the
> resulting lib was around 600k.  Too large for a downloadable that is
already
> over 1 meg.

I'm not sure, but isn't the linker smart enough to only link those parts of
the lib that are really used, resulting in a smaller executable?

>
> Any ideas would be greatly appreciated.  Chris Nuernberger
> (chris.nuernberger at anark.com).
>
>
> --- >8 ----
> List archives:  http://www.xiph.org/archives/
> Ogg project homepage: http://www.xiph.org/ogg/
> To unsubscribe from this list, send a message to
'vorbis-dev-request at xiph.org'
> containing only the word 'unsubscribe' in the body.  No subject is needed.
> Unsubscribe messages sent to the list will be ignored/filtered.
>

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list