aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.co.uk>2003-06-14 14:57:29 +0000
committerNeil Booth <neil@gcc.gnu.org>2003-06-14 14:57:29 +0000
commit9756074d28bd076d7aaf512012b32435c190c930 (patch)
tree084dded124ae6f7dfcd2f5f52eaa8e81fe9c4ca4
parenta4a37b305c80f2233d4ea58824c498a8c0b34d22 (diff)
downloadgcc-9756074d28bd076d7aaf512012b32435c190c930.zip
gcc-9756074d28bd076d7aaf512012b32435c190c930.tar.gz
gcc-9756074d28bd076d7aaf512012b32435c190c930.tar.bz2
sourcebuild.texi: Document opt.lang and a language-specific flag in opts.h.
* doc/sourcebuild.texi: Document opt.lang and a language-specific flag in opts.h. From-SVN: r67945
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/doc/sourcebuild.texi8
2 files changed, 12 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 094a407..9381b40 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2003-06-14 Neil Booth <neil@daikokuya.co.uk>
+
+ * doc/sourcebuild.texi: Update.
+
2003-06-14 Richard Earnshaw <rearnsha@arm.com>
PR target/11183
diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi
index 3710738..0bda374 100644
--- a/gcc/doc/sourcebuild.texi
+++ b/gcc/doc/sourcebuild.texi
@@ -450,6 +450,9 @@ Details of source file suffixes for that language and @option{-x
Entries in @code{default_compilers} in @file{gcc.c} for source file
suffixes for that language.
@item
+A bitmask in @file{opts.h} that flags each switch accepted by
+the front end, for example @code{CL_JAVA}.
+@item
Preferably test suites, which may be under @file{gcc/testsuite} or
runtime library directories. FIXME: document somewhere how to write
test suite harnesses.
@@ -600,6 +603,11 @@ Move to the stage directory files not included in @code{stagestuff} in
@file{config-lang.in} or otherwise moved by the main @file{Makefile}.
@end table
+@item lang.opt
+This file registers the set of switches that the front end accepts on
+the command line. The file format is documented in each
+@file{lang.opt} file in the GCC tree. @file{lang.opt} is processed
+by the script @file{opts.sh}.
@item lang-options.h
This file provides entries for @code{documented_lang_options} in
@file{toplev.c} describing command-line options the front end accepts