This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC Plug-in Framework ready to port
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Diego Novillo <dnovillo at google dot com>
- Cc: Taras Glek <tglek at mozilla dot com>, Sean Callanan <spyffe at cs dot sunysb dot edu>, Basile STARYNKEVITCH <basile at starynkevitch dot net>, Grigori Fursin <grigori dot fursin at inria dot fr>, Le-Chun Wu <lcwu at google dot com>, Brendon Costa <bcosta at avdat dot com dot au>, Emmanuel Fleury <fleury at labri dot fr>, gcc at gcc dot gnu dot org
- Date: Sun, 1 Feb 2009 18:50:45 +0000 (UTC)
- Subject: Re: GCC Plug-in Framework ready to port
- References: <m3iqnwwqrl.fsf@google.com> <EFC35277-A978-4B6E-9F06-DC56C1409B99@cs.sunysb.edu> <b798aad50901310511o3884804fs2f5392e509ab14df@mail.gmail.com> <4984D585.3010306@mozilla.com> <b798aad50902011018v6edb792fg7ada13bdec7fd55@mail.gmail.com>
On Sun, 1 Feb 2009, Diego Novillo wrote:
> > Where would plugin-centric enhancements such as improvements to the pass
> > manager go? i think it'd be useful to have them land in the plugin branch to
> > make sure the API is satisfactory.
>
> How about <root>/gcc/plugins/<plugin-name>? Maybe we could categorize
> the 'plugins' directory, but I don't think it makes sense to apply too
> much hierarchy this early in the game.
I don't see how that answer relates to the question.
The question "Where" seemed to me to be asking "On what branch", and the
plugin branch seems find - but so does trunk once 4.4 has branched.
As plugin-centric enhancements as described seem to be changes to existing
GCC source code (providing infrastructure of potential use to multiple
plugins), they don't have a single plugin-name, so the path you gave
doesn't make sense as a path within the GCC source code. It might make
sense for a path within the GCC source code to plugins distributed with
GCC, however.
As for installation directories, I've already noted that plugins should be
installed under libsubdir or libexecsubdir since they will depend on both
the target and version of GCC.
--
Joseph S. Myers
joseph@codesourcery.com