trunk patch: documenting how to build plugins.

Basile STARYNKEVITCH basile@starynkevitch.net
Wed Jun 17 13:10:00 GMT 2009


Rafael Espindola wrote:
>> gcc/Changelog:
>> 2009-06-16  Basile Starynkevitch  <basile@starynkevitch.net>
>>   * doc/plugins.texi (Building GCC plugins): Added new section.
>>     
>
>   

Thanks Rafael for your comments!

> Some comments: 
>   
[skipped but followed in this improved patch]. The gcc/Changelog would 
be the same as above, except for the date.

The last sentence explains that some plugin could indeed need the source 
or build tree. This could happen because of gengtype, or because the 
plugin might want to use some feature or function of GCC which is not 
declared inside the plugin/include directory. IIRC the plugin dogma 
(which I agree with) is : there is no stable GCC internal API!

I am attaching a patch to trunk rev. 148609.

Regards.

-- 
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 mines, sont seulement les miennes} ***

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-plugins-doc-rev158809.diff
Type: text/x-patch
Size: 1599 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090617/135f9202/attachment.bin>


More information about the Gcc-patches mailing list