Hello All, The attached documentation patch is nearly trivial, I was tempted to apply it without review.
### gcc/ChangeLog entry ### 2011-07-06 Basile Starynkevitch <bas...@starynkevitch.net> * doc/plugins.texi (Building GCC plugins): gengtype needs its gtype.state ### end gcc/ChangeLog entry ### Ok? -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mine, sont seulement les miennes} ***
Index: gcc/doc/plugins.texi =================================================================== --- gcc/doc/plugins.texi (revision 175923) +++ gcc/doc/plugins.texi (working copy) @@ -446,6 +446,6 @@ A single source file plugin may be built with @cod plugin.so}, using backquote shell syntax to query the @file{plugin} directory. -Plugins needing to use @command{gengtype} require a GCC build -directory for the same version of GCC that they will be linked -against. +When a plugin needs to use @command{gengtype}, be sure that both +@file{gengtype} and @file{gtype.state} have the same version than the +GCC for which the plugin is built.