This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [plugins] [patch] Add new testcases and dejagnu support for plugin mechanism
On Wed, 25 Mar 2009, Rafael Espindola wrote:
> > Â Â Â Â* gcc/testsuite/gcc.dg/plugin/selfassign.c: New plugin source file.
>
> Once we enable building plugin for an installed compiler, we should
> probably move
> the plugins to a toplevel directory. Similar to what we do for
> libstdc++. We would
> have something like
>
> gcc/...
> ...
> plugins/plugin.exp
Toplevel directories are a global namespace shared with the src
repository. Please avoid a name such as "plugins/" there which gives no
indication that it is plugins for GCC rather than any other tool in the
repository. (Yes, some existing directory names are less than ideal in
this regard.)
--
Joseph S. Myers
joseph@codesourcery.com