public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Mention of gcc 4.5 as first version with plugin support
@ 2013-01-11  4:00 Dave Johansen
  2013-01-11  8:58 ` Dodji Seketeli
  2013-01-11 15:02 ` Diego Novillo
  0 siblings, 2 replies; 7+ messages in thread
From: Dave Johansen @ 2013-01-11  4:00 UTC (permalink / raw)
  To: gcc-patches

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

Currently, the plugin documentation doesn't mention that it requires
gcc 4.5 or later. The patch to add this statement is attached and
here's the ChangeLog:

2013-01-10  Dave Johansen  <davejohansen@gmail.com>

        * gcc/doc/plugins.texi: Added gcc.4.5.0 or later note to
Plugins documentation.

[-- Attachment #2: plugins_doc.patch --]
[-- Type: application/octet-stream, Size: 449 bytes --]

Index: gcc/doc/plugins.texi
===================================================================
--- gcc/doc/plugins.texi	(revision 195102)
+++ gcc/doc/plugins.texi	(working copy)
@@ -17,6 +17,9 @@
 transforming code, or analyzing information, plugins
 can be quite useful.
 
+GCC plugin support is available in GCC version 4.5.0 and
+later.
+
 @menu
 * Plugins loading::      How can we load plugins.
 * Plugin API::           The APIs for plugins.

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

* Re: Mention of gcc 4.5 as first version with plugin support
  2013-01-11  4:00 Mention of gcc 4.5 as first version with plugin support Dave Johansen
@ 2013-01-11  8:58 ` Dodji Seketeli
  2013-01-11 20:47   ` Basile Starynkevitch
  2013-01-11 15:02 ` Diego Novillo
  1 sibling, 1 reply; 7+ messages in thread
From: Dodji Seketeli @ 2013-01-11  8:58 UTC (permalink / raw)
  To: Dave Johansen; +Cc: gcc-patches, gerald, joseph

Thank you Dave for this documentation patch that looks OK to my casual
eyes.  Let's CC the documentation maintainers.

Dave Johansen <davejohansen@gmail.com> a écrit:

> Currently, the plugin documentation doesn't mention that it requires
> gcc 4.5 or later. The patch to add this statement is attached and
> here's the ChangeLog:
>
> 2013-01-10  Dave Johansen  <davejohansen@gmail.com>
>
>         * gcc/doc/plugins.texi: Added gcc.4.5.0 or later note to
> Plugins documentation.
>
> Index: gcc/doc/plugins.texi
> ===================================================================
> --- gcc/doc/plugins.texi	(revision 195102)
> +++ gcc/doc/plugins.texi	(working copy)
> @@ -17,6 +17,9 @@
>  transforming code, or analyzing information, plugins
>  can be quite useful.
>  
> +GCC plugin support is available in GCC version 4.5.0 and
> +later.
> +
>  @menu
>  * Plugins loading::      How can we load plugins.
>  * Plugin API::           The APIs for plugins.

-- 
		Dodji

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

* Re: Mention of gcc 4.5 as first version with plugin support
  2013-01-11  4:00 Mention of gcc 4.5 as first version with plugin support Dave Johansen
  2013-01-11  8:58 ` Dodji Seketeli
@ 2013-01-11 15:02 ` Diego Novillo
  1 sibling, 0 replies; 7+ messages in thread
From: Diego Novillo @ 2013-01-11 15:02 UTC (permalink / raw)
  To: Dave Johansen; +Cc: gcc-patches

On Thu, Jan 10, 2013 at 11:00 PM, Dave Johansen <davejohansen@gmail.com> wrote:

> 2013-01-10  Dave Johansen  <davejohansen@gmail.com>
>
>         * gcc/doc/plugins.texi: Added gcc.4.5.0 or later note to
> Plugins documentation.

OK.


Diego.

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

* Re: Mention of gcc 4.5 as first version with plugin support
  2013-01-11  8:58 ` Dodji Seketeli
@ 2013-01-11 20:47   ` Basile Starynkevitch
  2013-01-14 20:20     ` Richard Biener
  0 siblings, 1 reply; 7+ messages in thread
From: Basile Starynkevitch @ 2013-01-11 20:47 UTC (permalink / raw)
  To: Dodji Seketeli; +Cc: Dave Johansen, gcc-patches, gerald, joseph

On Fri, 11 Jan 2013 09:58:49 +0100
Dodji Seketeli <dodji@seketeli.org> wrote:

> Thank you Dave for this documentation patch that looks OK to my casual
> eyes.  Let's CC the documentation maintainers.
> 
> Dave Johansen <davejohansen@gmail.com> a écrit:
> 
> >  
> > +GCC plugin support is available in GCC version 4.5.0 and
> > +later.

Maybe we should say that a later version is preferable.....
IIRC 4.5 plugin support was not very good -it was more an experimental stage than
anything else. I believe that we should not encourage people to write plugins against
4.5.....

Cheers.

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

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

* Re: Mention of gcc 4.5 as first version with plugin support
  2013-01-14 20:20     ` Richard Biener
@ 2013-01-14 16:20       ` Dave Johansen
  2015-04-13  0:40         ` Gerald Pfeifer
  0 siblings, 1 reply; 7+ messages in thread
From: Dave Johansen @ 2013-01-14 16:20 UTC (permalink / raw)
  To: Richard Biener
  Cc: Basile Starynkevitch, Dodji Seketeli, gcc-patches, gerald, joseph

On Mon, Jan 14, 2013 at 12:21 AM, Richard Biener
<richard.guenther@gmail.com> wrote:
> On Fri, Jan 11, 2013 at 9:46 PM, Basile Starynkevitch
> <basile@starynkevitch.net> wrote:
>> On Fri, 11 Jan 2013 09:58:49 +0100
>> Dodji Seketeli <dodji@seketeli.org> wrote:
>>
>>> Thank you Dave for this documentation patch that looks OK to my casual
>>> eyes.  Let's CC the documentation maintainers.
>>>
>>> Dave Johansen <davejohansen@gmail.com> a écrit:
>>>
>>> >
>>> > +GCC plugin support is available in GCC version 4.5.0 and
>>> > +later.
>>
>> Maybe we should say that a later version is preferable.....
>> IIRC 4.5 plugin support was not very good -it was more an experimental stage than
>> anything else. I believe that we should not encourage people to write plugins against
>> 4.5.....
>
> What's the value of documenting the availability of an unstable API in
> older versions
> of GCC?  Mind this documentation is version specific.
>
> Richard.
>
>> Cheers.
>>
>> --
>> 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} ***

My point wasn't to encourage people to use 4.5 for plugins, but just
to state when it became available. I was looking into
enabling/installing plugin support on RHEL 5/6 and spent several hours
trying to figure out why it wasn't available only to later find out
that it wasn't available in gcc 4.4. If the documentation had at least
mentioned the version when this feature was introduced, then it would
have saved me a lot of headache and is why I submitted this patch.

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

* Re: Mention of gcc 4.5 as first version with plugin support
  2013-01-11 20:47   ` Basile Starynkevitch
@ 2013-01-14 20:20     ` Richard Biener
  2013-01-14 16:20       ` Dave Johansen
  0 siblings, 1 reply; 7+ messages in thread
From: Richard Biener @ 2013-01-14 20:20 UTC (permalink / raw)
  To: Basile Starynkevitch
  Cc: Dodji Seketeli, Dave Johansen, gcc-patches, gerald, joseph

On Fri, Jan 11, 2013 at 9:46 PM, Basile Starynkevitch
<basile@starynkevitch.net> wrote:
> On Fri, 11 Jan 2013 09:58:49 +0100
> Dodji Seketeli <dodji@seketeli.org> wrote:
>
>> Thank you Dave for this documentation patch that looks OK to my casual
>> eyes.  Let's CC the documentation maintainers.
>>
>> Dave Johansen <davejohansen@gmail.com> a écrit:
>>
>> >
>> > +GCC plugin support is available in GCC version 4.5.0 and
>> > +later.
>
> Maybe we should say that a later version is preferable.....
> IIRC 4.5 plugin support was not very good -it was more an experimental stage than
> anything else. I believe that we should not encourage people to write plugins against
> 4.5.....

What's the value of documenting the availability of an unstable API in
older versions
of GCC?  Mind this documentation is version specific.

Richard.

> Cheers.
>
> --
> 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} ***

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

* Re: Mention of gcc 4.5 as first version with plugin support
  2013-01-14 16:20       ` Dave Johansen
@ 2015-04-13  0:40         ` Gerald Pfeifer
  0 siblings, 0 replies; 7+ messages in thread
From: Gerald Pfeifer @ 2015-04-13  0:40 UTC (permalink / raw)
  To: Dave Johansen
  Cc: Richard Biener, Basile Starynkevitch, Dodji Seketeli,
	gcc-patches, Joseph S. Myers

On Mon, 14 Jan 2013, Dave Johansen wrote:
>>>>> +GCC plugin support is available in GCC version 4.5.0 and
>>>>> +later.
>> What's the value of documenting the availability of an unstable API in
>> older versions
>> of GCC?  Mind this documentation is version specific.
>>
>> Richard.
> My point wasn't to encourage people to use 4.5 for plugins, but just
> to state when it became available. I was looking into
> enabling/installing plugin support on RHEL 5/6 and spent several hours
> trying to figure out why it wasn't available only to later find out
> that it wasn't available in gcc 4.4.

I considered this again and again, and while I understand the
unfortunate situation you ran into with the old system compiler
on older versions of your OS, I am tempted to side with Richard
-- and GCC plugins really make (more) sense with reasonably
current versions of GCC, so by identifying GCC 4.5 we might
set wrong expectations.

Gerald

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

end of thread, other threads:[~2015-04-13  0:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-11  4:00 Mention of gcc 4.5 as first version with plugin support Dave Johansen
2013-01-11  8:58 ` Dodji Seketeli
2013-01-11 20:47   ` Basile Starynkevitch
2013-01-14 20:20     ` Richard Biener
2013-01-14 16:20       ` Dave Johansen
2015-04-13  0:40         ` Gerald Pfeifer
2013-01-11 15:02 ` Diego Novillo

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).