From 9756074d28bd076d7aaf512012b32435c190c930 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Sat, 14 Jun 2003 14:57:29 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 4 ++++ gcc/doc/sourcebuild.texi | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 094a4073044..9381b4069a0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-06-14 Neil Booth + + * doc/sourcebuild.texi: Update. + 2003-06-14 Richard Earnshaw PR target/11183 diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi index 3710738f2a4..0bda374ca72 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 -- 2.30.2