diff options
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/doc/gty.texi | 17 |
2 files changed, 13 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cbf8cbd08be..1db13101c77 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-06-11 Geoffrey Keating <geoffk@redhat.com> + + * doc/gty.texi: Small updates. + 2002-06-12 Gabriel Dos Reis <gdr@codesourcery.com> * objc/objc-act.c (warn_with_ivar): Adjust calls to diff --git a/gcc/doc/gty.texi b/gcc/doc/gty.texi index 132cd415fa1..02b1b3913f8 100644 --- a/gcc/doc/gty.texi +++ b/gcc/doc/gty.texi @@ -229,11 +229,12 @@ things you need to do: @enumerate @item You need to add the file to the list of source files the type machinery -scans. For a back-end file, this is done automatically. For a -front-end file, this is done by adding the filename to the -@code{gtfiles} variable defined in @file{config-lang.in}. For other -files, this is done by adding the filename to the @code{GTFILES} variable -in @file{Makefile.in}. +scans. For a back-end file, this is usually done automatically; if not, +you should add it to @code{config_gtfiles} in the appropriate port's +entries in @file{config.gcc}. For a front-end file, this is done by +adding the filename to the @code{gtfiles} variable defined in +@file{config-lang.in}. For other files, this is done by adding the +filename to the @code{GTFILES} variable in @file{Makefile.in}. @item You need to include the file that the type machinery will generate in @@ -243,9 +244,9 @@ the source file you just changed. The file will be called to mention this file as a dependency in the @file{Makefile}! @item -Finally, you need to add a @file{Makefile} rule that will ensure this file -can be built. This is done by making it a dependency of @code{s-gtype}, -like this: +Finally, you need to arrange to add a @file{Makefile} rule that will +ensure this file can be built. This is done by making it a dependency +of @code{s-gtype}, like this: @verbatim gt-path.h : s-gtype ; @true @end verbatim |