This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: export more plugin headers
* Dave Korn wrote on Thu, Jun 25, 2009 at 04:37:05AM CEST:
> Diego Novillo wrote:
> > 2009/6/22 Ralf Wildenhues:
> >
> >> This patch does not ensure that the set of files installed remains
> >> sufficient for compiling plugins against it.
> >
> > Nor can it (though it would be nice if we had such mechanism).
>
> -MD ?
I don't think the question is primarily whether the headers that are
installed are self-sufficient, but how much of the GCC API is really
needed by plugins compiled against installed headers. As such, I agree
that adding headers on an as-needed basis seems a good conservative
approach. I guess, self-sufficiency could be tested with -MD, but an
actual installcheck target would be better.
Cheers,
Ralf (doesn't know when he has time to look into it)