Hello, I was wondering if it's possible to exclude the encoder while building the libspeex library, because I need to build an application where even a few KB saved are a great gain. Could someone give me some hint? Thank you in advance -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20051116/9a84f6d5/attachment.html
Most compilers/linkers were automatically exclude code in your exe that you don't use.. I.e. if you don't call any of the encoder functions, they won't be included in the exe. However, if there are many dependencies between the encoder/decoder code, it probably won't save you much. _____ From: speex-dev-bounces@xiph.org [mailto:speex-dev-bounces@xiph.org] On Behalf Of a a Sent: Wednesday, November 16, 2005 3:56 AM To: speex-dev@xiph.org Subject: [Speex-dev] Decoder only libspeex build Hello, I was wondering if it's possible to exclude the encoder while building the libspeex library, because I need to build an application where even a few KB saved are a great gain. Could someone give me some hint? Thank you in advance -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20051116/0120e145/attachment.htm
Le mercredi 16 novembre 2005 ? 08:28 -0800, Duane Storey a ?crit :> Most compilers/linkers were automatically exclude code in your exe > that you don?t use.. I.e. if you don?t call any of the encoder > functions, they won?t be included in the exe. However, if there are > many dependencies between the encoder/decoder code, it probably won?t > save you much.Probably won't work directly with Speex, or at least you would have to clear the references to the encode functions in the (homemade) "virtual tables". Jean-Marc> > > > ______________________________________________________________________ > From: speex-dev-bounces@xiph.org [mailto:speex-dev-bounces@xiph.org] > On Behalf Of a a > Sent: Wednesday, November 16, 2005 3:56 AM > To: speex-dev@xiph.org > Subject: [Speex-dev] Decoder only libspeex build > > > > > Hello, > > > > > > I was wondering if it's possible to exclude the encoder while building > the libspeex library, because I need to build an application where > even a few KB saved are a great gain. Could someone give me some > hint? > > > > > > Thank you in advance > > > _______________________________________________ > Speex-dev mailing list > Speex-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev