[PATCH] dependency list for static libraries
Howard Chu
hyc@symas.com
Tue Dec 15 20:53:10 GMT 2020
Cary Coutant wrote:
>>> One big question
>>> I still have is how to get this plugin to be used by default?
>>
>> I do not think that there is a way to guarantee this. After all
>> plugins, by design, are intended to be optional.
>>
>> Obviously if a build system is involved - one that is adding the
>> --record-libdeps option when creating libraries - then it will be
>> able to add the necessary linker command line option to invoke
>> the plugin as well.
>
> Did I miss any discussion about whether this feature should/could be
> implemented directly in the linkers, rather than via a plugin? I
> wouldn't be opposed to it.
I would prefer if it were built in and active by default. I just
went with the plugin because it seemed to be the quickest way to get
the feature working.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
More information about the Binutils
mailing list