libsmbclient size too big for embedded

James Peach jorgar at gmail.com
Thu May 13 14:20:11 MDT 2010


On 13 May 2010 12:33, Barry Sia <Barry.Sia at ktd-kyocera.com> wrote:
> Hi Richard,
>
> I tried strip. And the max I could get out of that was an additional
> 500K.
> So, I'm now down to 3.5MB.  Thanks!

Most linkers have options to strip unused symbols. You ought to be
able to use an exports file to pin the symbols that you actually want
to use, then get the linker to dead strip the rest. That might help
somewhat.

>
> Barry
>
> -----Original Message-----
> From: Richard Sharpe [mailto:realrichardsharpe at gmail.com]
> Sent: Thursday, May 13, 2010 12:26 PM
> To: Barry Sia
> Cc: samba-technical at lists.samba.org
> Subject: Re: libsmbclient size too big for embedded
>
> Have you tried strip?
>
> If that doesn't help much, the next step would be to split
> libsmbclient into separate libraries with base functionality in one
> and so forth.
>



-- 
James Peach | jorgar at gmail.com


More information about the samba-technical mailing list