>
> I am using only one function from that library, which must be very small
in
> size.
> e.g. tk_strlen.

> Problem is that my execuable size increases a lot.
> Though I am using only one function from that library, I think my
executable
> gets
> bundled with all the functions.

****** maybe you can extract the object file from archive and then link only
that. But my guess is ld is extracting all the dependencies of the function
and linking it in. So you may not get reduction in size (its already
minimum). Compare symbols in executable by  using 'readelf' and 'nm'.

HTH,
~Gitesh



--
______________________________________________________________________
Pune GNU/Linux Users Group Mailing List:      ([EMAIL PROTECTED])
List Information:  http://plug.org.in/mailing-list/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.

Reply via email to