Re: [LIP] Restricting LD to strictly required symbols only
| Newsgroups | gmane.user-groups.linux.india.programmers |
|---|---|
| Message-ID | <[email protected]> |
Shridhar Daithankar posted in linux-india-programmers: > GNU ld asks for libB following the dependency chain like, program->libA->libB. > Trouble is I know that program does not use libB at all but some functions in > libA do depend upon it. If you are pretty sure that the functions you call in libA do not depend on libB, then I guess you could hack the sources of libA to get rid of its dependency on libB. > The chain is getting rather long and I am really short of listing all 60+ > libraries on ld commandline. You might want to look at the GNU toolchain of autoconf/automake etc. that would make all this simpler. Binand ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click