This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: dependency list for static libraries


Hi,

On 19.09.2017 17:49, Howard Chu wrote:

> We often get link errors when switching from dynamic linking to static
> linking, because dynamic libraries list all of their own dependency
> libraries, and static libraries don't. (And the program being linked
> doesn't know about those indirect dependencies.)

That is what libtool's .la files do — these have a list of extra
dependencies to be linked when linking statically.

   Simon

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]