Re: [Offtopic] C++-coded-packages
Jason Gunthorpe <email@example.com> 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.
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to firstname.lastname@example.org .