summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-11 23:13:20 +0000
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-11 23:13:20 +0000
commit7b852dd699fc2cfb266969f50800b71f0f54339c (patch)
tree81adab782de42a04071dd2d1904fa2d0394f5973
parenta787dd05ab6a396e9a10603460ff8512df56bae6 (diff)
downloadppe42-gcc-7b852dd699fc2cfb266969f50800b71f0f54339c.tar.gz
ppe42-gcc-7b852dd699fc2cfb266969f50800b71f0f54339c.zip
* doc/gty.texi: Small updates.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54533 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/doc/gty.texi17
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
OpenPOWER on IntegriCloud