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
- From: Diego Novillo <dnovillo at google dot com>
- To: Rafael Espindola <espindola at google dot com>
- Cc: Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 21 Apr 2009 09:43:32 -0400
- Subject: Re: [trunk][patch] Install headers and plugin-version.o
- References: <38a0d8450904210614v407ef154v17927b6c9bcb0c92@mail.gmail.com>
On Tue, Apr 21, 2009 at 09:14, Rafael Espindola <espindola@google.com> wrote:
> 2009-04-21 ÂRafael Avila de Espindola Â<espindola@google.com>
>
> Â Â Â Â* Makefile.in (plugindir,plugin_includedir): New.
> Â Â Â Â(install): Depend on install-plugin.
> Â Â Â Â(installdirs): Create plugindir and plugin_includedir.
> Â Â Â Â(PLUGIN_HEADERS): New.
> Â Â Â Â(install-plugin): New.
> Â Â Â Â* config.gcc: Add vxworks-dummy.h to tm_file for x86 and x86-64.
Perhaps we could simplify the interface so that plugins need only
a single 'plugin.h' header file.
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.
Diego.