aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/plugins.texi6
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ed47e19..a49896a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2011-07-15 Basile Starynkevitch <basile@starynkevitch.net>
+
+ * doc/plugins.texi (Building GCC plugins): gengtype needs its
+ gtype.state.
+
2011-07-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR target/49723
diff --git a/gcc/doc/plugins.texi b/gcc/doc/plugins.texi
index 1ff1447..faee13e 100644
--- a/gcc/doc/plugins.texi
+++ b/gcc/doc/plugins.texi
@@ -446,6 +446,6 @@ A single source file plugin may be built with @code{gcc -I`gcc
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 as the
+GCC for which the plugin is built.