public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* DOC patch: about gengtype & plugins
@ 2011-07-06 17:17 Basile Starynkevitch
  2011-07-15 13:42 ` Laurynas Biveinis
  0 siblings, 1 reply; 3+ messages in thread
From: Basile Starynkevitch @ 2011-07-06 17:17 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 564 bytes --]


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  <basile@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} ***

[-- Attachment #2: docplugin.diff --]
[-- Type: text/x-diff, Size: 643 bytes --]

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: DOC patch: about gengtype & plugins
  2011-07-06 17:17 DOC patch: about gengtype & plugins Basile Starynkevitch
@ 2011-07-15 13:42 ` Laurynas Biveinis
  2011-07-16 14:38   ` Gerald Pfeifer
  0 siblings, 1 reply; 3+ messages in thread
From: Laurynas Biveinis @ 2011-07-15 13:42 UTC (permalink / raw)
  To: Basile Starynkevitch; +Cc: gcc-patches

2011/7/6 Basile Starynkevitch <basile@starynkevitch.net>:
>        * doc/plugins.texi (Building GCC plugins): gengtype needs its
>        gtype.state

Replace "than" in the patch with "as".

I assume it passes make info?

OK with that change, thank you.
-- 
Laurynas

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: DOC patch: about gengtype & plugins
  2011-07-15 13:42 ` Laurynas Biveinis
@ 2011-07-16 14:38   ` Gerald Pfeifer
  0 siblings, 0 replies; 3+ messages in thread
From: Gerald Pfeifer @ 2011-07-16 14:38 UTC (permalink / raw)
  To: Laurynas Biveinis; +Cc: Basile Starynkevitch, gcc-patches

[-- Attachment #1: Type: TEXT/PLAIN, Size: 462 bytes --]

On Fri, 15 Jul 2011, Laurynas Biveinis wrote:
> 2011/7/6 Basile Starynkevitch <basile@starynkevitch.net>:
>>        * doc/plugins.texi (Building GCC plugins): gengtype needs its
>>        gtype.state
> Replace "than" in the patch with "as".
> 
> I assume it passes make info?
> 
> OK with that change, thank you.

And a full stop at the end of the ChangeLog entry.  And perhaps 
"corresponding" instead of "its" in the ChangeLog?
 
Gerald

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-07-16 11:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-06 17:17 DOC patch: about gengtype & plugins Basile Starynkevitch
2011-07-15 13:42 ` Laurynas Biveinis
2011-07-16 14:38   ` Gerald Pfeifer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).