< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [reSIProcate] footprint


You need to do two things to build it small. 

make CODE_OPTIMIZE=3

The library itself will not be small - but the linked application will
be after you strip it. Have a look at an example application like
sip/resiprocate/test/testStack

Jason



On Mon, 28 Mar 2005 13:52:47 +0800, zuobf <zuobf@xxxxxxxxxxxxxxx> wrote:
> Hello,
>     There is some early mail here which said the footprint could be less
> than 2 Mb after stripped.
>     But after i stripped the library file with utility strip, the obj library
> is still around 4Mb, what's wrong?
>     The command i used is "strip libresiprocate.a -s -o 
> libresiprocate_stripped.a"
>         The result is :
> 
>                 -rw-rw-r--  1 wosai wosai 7443316 Mar 28 13:40 
> libresiprocate.a
>                 -rw-r--r--  1 wosai wosai 3733454 Mar 28 13:44 
> libresiprocate_stripped.a
> 
>         What's wrong with me? :(
> 
> Thank you very much:)
> 
> sincerely,
> 
> zuobf
> zuobf@xxxxxxxxxxxxxxx
> 2005-03-28
> 
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
> 
>