This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Examples of GCC plugins



----------------------------------------
> Date: Sat, 14 Mar 2015 18:22:29 +0300
> From: maltsevm@gmail.com
> To: gcc@gcc.gnu.org; sandra@codesourcery.com
> Subject: Examples of GCC plugins
>
> Hi, all.
>
> When I first tried to write a simple plugin for GCC, it turned out that
> existing docs on plugins
> (https://gcc.gnu.org/onlinedocs/gccint/Plugins.html#Plugins) are rather
> brief, so I had to refer to the GCC source code. When I grepped the
> source looking for one of plugin API functions, I found this directory:
> gcc/testsuite/gcc.dg/plugin.
>
> Plugins in that directory were very helpful as a starting point. I
> think, they are definitely worth being mentioned in documentation (maybe
> I was inattentive and missed some link to them?) or perhaps even
> separated from testsuite (of course, I don't mean removing something
> from testsuite, but rather adding a separate Makefile, not dependent on
> DejaGNU). Any thoughts on this?
>
> --
> Regards,
> Mikhail Maltsev

I think that will be very helpful to mention this in the documentation.

-Aditya

 		 	   		  

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]