sourcebuild.texi: Document opt.lang and a language-specific flag in opts.h.
authorNeil Booth <neil@daikokuya.co.uk>
Sat, 14 Jun 2003 14:57:29 +0000 (14:57 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Sat, 14 Jun 2003 14:57:29 +0000 (14:57 +0000)
* doc/sourcebuild.texi: Document opt.lang and a language-specific
flag in opts.h.

From-SVN: r67945

gcc/ChangeLog
gcc/doc/sourcebuild.texi

index 094a4073044d8fe280d915e337798772f832a5af..9381b4069a0b4e2ee6f85e375d583786b4129356 100644 (file)
@@ -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
index 3710738f2a47efc2482bdd9032646df30ed0bdf5..0bda374ca7258f5bf13dbfbea57d51917f9d3c97 100644 (file)
@@ -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