This is the mail archive of the gcc@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]

RFC: Treat plugins as first class citizens


Hi Guys,

 I was thinking that it would be nice to make plugins a "first-class
 citizen" in the gcc world by having a proper directory structure and
 integration into the rest of gcc.  For example:

    gcc/plugins               <-- Everything plugin-y starts here
    gcc/plugins/Make-lang.in  <-- Makefile fragment.
    gcc/plugins/src           <-- Maybe move gcc/plugins.[c|h|def] here ?
    gcc/plugins/doc           <-- Actual documentation, wow!
    gcc/plugins/testsuite     <-- Tests for the plugins and their integration into gcc
    gcc/plugins/config        <-- Subdirectories of this directory contain each real plugin
    gcc/plugins/config/annobin  <-- For example, this is where my pet plugin would go

  Plus there could be an official plugins maintainer.  (I am willing to
  volunteer, so is Aldy Hernandez).  The documentation would be compiled
  along with the rest of gcc's documentation and the testsuite would be
  run as part of gcc's normal testing process.  Ideally I would also
  like to see plugin test failures be considered as blockers for new
  releases, but that is something for the future.

  So, what do you think ?  Should I create a patch and submit it for
  official review ?
  
Cheers
  Nick


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