This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug lto/70345] Installing liblto_plugin under $LIBDIR/bfd-plugins


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70345

--- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to Дилян Палаузов from comment #3)
> Am I correct if I say, that the gcc plugin is backward compatible: the
> plugin from the newest gcc can be used with any gcc but not vice versa?

Right now the plugin from any gcc can be used with any gcc.
But this might change in the future.

> How do nm and ar determine, if a plugin shall be used, for instance when `nm
> test.o` is called?

They get tried in alphabetic order. The first plugin that claims the object in
question is used.
Mixed gcc/llvm archives are also supported.

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