diff options
author | Basile Starynkevitch <basile@starynkevitch.net> | 2009-09-29 18:26:33 +0000 |
---|---|---|
committer | Rafael Espindola <espindola@gcc.gnu.org> | 2009-09-29 18:26:33 +0000 |
commit | 9b39cba9abd47df5541e789f1ec22c80a7985e23 (patch) | |
tree | 02fcfbb7538bcafd8570080f04f2e1e299e0e426 /gcc/doc/gty.texi | |
parent | 4a0ce41d05a77854b2a813fb16a8d84aa2e81f74 (diff) | |
download | gcc-9b39cba9abd47df5541e789f1ec22c80a7985e23.zip gcc-9b39cba9abd47df5541e789f1ec22c80a7985e23.tar.gz gcc-9b39cba9abd47df5541e789f1ec22c80a7985e23.tar.bz2 |
gengtype.c (plugin_output): New.
2009-09-29 Basile Starynkevitch <basile@starynkevitch.net>
Rafael Avila de Espindola <espindola@google.com>
* gengtype.c (plugin_output): New.
(get_output_file_with_visibility): Return plugin_output for plugins.
(main): Parse and use the -P option.
* gty.texi: Update the command line format.
Co-Authored-By: Rafael Avila de Espindola <espindola@google.com>
From-SVN: r152286
Diffstat (limited to 'gcc/doc/gty.texi')
-rw-r--r-- | gcc/doc/gty.texi | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/doc/gty.texi b/gcc/doc/gty.texi index b59d5f3..56da9b5 100644 --- a/gcc/doc/gty.texi +++ b/gcc/doc/gty.texi @@ -451,11 +451,10 @@ somewhere. It will be called @file{gtype-@var{lang}.h}, where @var{lang} is the name of the subdirectory the language is contained in. Plugins can add additional root tables. Run the @code{gengtype} -utility in plugin mode as @code{gengtype -p @var{source-dir} +utility in plugin mode as @code{gengtype -P pluginout.h @var{source-dir} @var{file-list} @var{plugin*.c}} with your plugin files -@var{plugin*.c} using @code{GTY} to generate the corresponding -@var{gt-plugin*.h} files. The GCC build tree is needed to be present in -that mode. +@var{plugin*.c} using @code{GTY} to generate the @var{pluginout.h} file. +The GCC build tree is needed to be present in that mode. @node Invoking the garbage collector |