This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [trunk][patch] Install headers and plugin-version.o
> Perhaps we could simplify the interface so that plugins need only
> a single 'plugin.h' header file.
We could, but that is orthogonal, no? We would still need to install
all headers that are included by 'plugin.h'.
I used to like that idea, but since one of the uses of plugins is
probably going to be prototyping things that should be moved
to gcc itself, we probably don't want to make plugins more
special than they need to be.
> Inside plugin.h we simply include $PLUGIN_HEADERS.
>
> To avoid synchronization problems, we should generate plugin.h
> from PLUGIN_HEADERS. ÂThis should also be used by the testsuite.
Sure.
>
> Diego.
>
Cheers,
--
Rafael Avila de Espindola
Google | Gordon House | Barrow Street | Dublin 4 | Ireland
Registered in Dublin, Ireland | Registration Number: 368047