This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RFC: Treat plugins as first class citizens
- From: Nick Clifton <nickc at redhat dot com>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 13 Mar 2017 17:12:45 +0000
- Subject: RFC: Treat plugins as first class citizens
- Authentication-results: sourceware.org; auth=none
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