Re: [Offtopic] C++-coded-packages
Jason Gunthorpe <jgg@gpu.srv.ualberta.ca> writes:
> why does the linker link to shared libraries that are not used in any way
> in the code?
The linker just does what it's told. You should link with only the
libraries you use.
It is useful in one case - ld.so requires shared libs to have an
explicit dependency on either libc, libm, or libdl.
Guy
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: