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/77576] gcc-ar doesn't work if all options are read from file


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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to likan_999.student from comment #2)
> Andrew, do you how I can tell whether plugin has been picked by
> successfully? Also, if I use ar, do I need to pass it some flag, e.g.
> --plugin=something, or it will just work if it is used normally, e.g. ar
> rcsD some.a some.o ?

If you install the lto plugin in the correct plugins directory (I can't
remember off hand where it is located, you can use strace to see which
directories are being search).  And yes you don't need any options pass to ar,
objdump, nm, etc.
You can use strace to see if the plugin is being located correctly.

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