public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* RFC: Add --plugin-gcc option to ar/nm
@ 2011-10-16 10:32 H.J. Lu
  2011-10-16 14:30 ` Andi Kleen
  2011-10-18  5:12 ` Dave Korn
  0 siblings, 2 replies; 3+ messages in thread
From: H.J. Lu @ 2011-10-16 10:32 UTC (permalink / raw)
  To: GCC Development, Binutils

Hi,

---plugin option for ar/nm is very long.  I am proposing to add
a  --plugin-gcc option.  It can be implemented with

1. Move LTOPLUGINSONAME from gcc to config/plugins.m4.
2. Define LTOPLUGINSONAME for ar/nm.
3. For --plugin-gcc, ar/nm call popen using environment variable GCC if set,
or gcc with -print-prog-name=$LTOPLUGINSONAM to get
plugin name.

Any comments?

-- 
H.J.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-10-18  4:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-16 10:32 RFC: Add --plugin-gcc option to ar/nm H.J. Lu
2011-10-16 14:30 ` Andi Kleen
2011-10-18  5:12 ` Dave Korn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).