Hi man,

If yiou are sure in ur executable you are getting all unused
function(which i doubt a lot, though i may b wrong)...then probably
you will like to go for Dynamic Loaded Library support...

You will find program library how to quite useful here...
http://www.tldp.org/HOWTO/Program-Library-HOWTO/dl-libraries.html#DLOPEN
dlopen()
dlsym()
dlclose()

I hope this helps

Regrads
Navtej


On Tue, 12 Oct 2004 04:21:59 +0000, Prakash Jagdale
<[EMAIL PROTECTED]> wrote:
> Hi all,
> I am having a library named toolkit.a.
> Its contains some exported functions.
> 
> 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.
> 
> How should I notiify the linker to ignore all the unused functions from the
> final build?
> 
> Is it possible?
> 
> Praj.
> 
> _________________________________________________________________
> Get head-hunted by 10,500 recruiters.
> http://www.naukri.com/msn/index.php?source=hottag Post your CV on naukri.com
> today.
> 
> --
> ______________________________________________________________________
> 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.
>
--
______________________________________________________________________
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