[PATCH 5/5] add libcc1
Jakub Jelinek
jakub@redhat.com
Thu Jun 19 21:45:00 GMT 2014
On Thu, Jun 19, 2014 at 02:52:12PM -0600, Tom Tromey wrote:
> Tom> I've edited this one down by removing the auto-generated stuff , and
> Tom> then compressed it.
>
> Here's a new version of patch #5.
> I've removed the generated code; let's see if it gets through without
> compression.
>
> I think this addresses all the reviews:
>
> * It uses gcc-plugin.m4 to disable the plugin
> * It does some configure checks for needed functionality, and disables
> the plugin if they are not found
> * libcc1 and the plugin now do a protocol version handshake at
> startup
> * The diagnostic overriding code is now in the plugin, not in gcc proper
> * gdb now tells libcc1 about the target triplet, and libcc1 uses
> this to invoke the proper GCC. This is done by (ewww) searching $PATH.
If you plan to implement this for other frontends (cc1plus, f951?) in the
future, would that be still libcc1 and perhaps new plugins in there, or are
we going to have new toplevel directories for each such a plugin?
Jakub
More information about the Gcc-patches
mailing list