From 4476205585284726e033e2759f29652c4798d160 Mon Sep 17 00:00:00 2001 From: Basile Starynkevitch Date: Fri, 15 Jul 2011 20:05:51 +0000 Subject: [PATCH] plugins.texi (Building GCC plugins): gengtype needs its gtype.state. 2011-07-15 Basile Starynkevitch * doc/plugins.texi (Building GCC plugins): gengtype needs its gtype.state. From-SVN: r176329 --- gcc/ChangeLog | 5 +++++ gcc/doc/plugins.texi | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ed47e19a7f3..a49896a16ad 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-07-15 Basile Starynkevitch + + * doc/plugins.texi (Building GCC plugins): gengtype needs its + gtype.state. + 2011-07-15 John David Anglin PR target/49723 diff --git a/gcc/doc/plugins.texi b/gcc/doc/plugins.texi index 1ff14474ccc..faee13e3918 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. -- 2.30.2