diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-15 14:56:32 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-15 14:56:32 +0000 |
commit | edc4d549b817379879c37060d3a5f8ad3293f2ef (patch) | |
tree | bb53c4922fdf27602a271638fead41e6077d92ea /gcc/c.opt | |
parent | aecda0d63740bf543c769e6fed70a34cc7f052e3 (diff) | |
download | gcc-edc4d549b817379879c37060d3a5f8ad3293f2ef.tar.gz |
* c-opts.c (lang_flags): Update for new spelling of flags.
(write_langs): Similarly.
* c.opt: Specify languages.
* opts.h: Remove languages.
* opts.sh: Recognise front-end defined languages.
ada:
* lang.opt: Declare Ada.
* misc.c (gnat_init_options): Update.
doc:
* sourcebuild.texi: Update.
f:
* lang.opt: Declare F77.
java:
* lang.opt: Declare Java.
* lang.c (java_init_options): Update.
treelang:
* lang.opt: Declare Treelang. Update.
* tree1.c (treelang_init_options): Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67976 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c.opt')
-rw-r--r-- | gcc/c.opt | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/gcc/c.opt b/gcc/c.opt index 6cd9295dafc..f277512efbc 100644 --- a/gcc/c.opt +++ b/gcc/c.opt @@ -29,10 +29,10 @@ ; RejectNegative to the second field. ; The second field is a space-separated list of which parts of the -; compiler recognize the switch. Current valid entries are "C", -; "ObjC", "C++" and "ObjC++". If the switch takes an argument, then -; you should also specify "Joined" and/or "Separate" to indicate where -; the argument can appear. +; compiler recognize the switch, as declared by "Language" entries. +; If the switch takes an argument, then you should also specify +; "Joined" and/or "Separate" to indicate where the argument can +; appear. ; Comments can appear on their own line anwhere in the file, preceded ; by a semicolon. Whitespace is permitted before the semicolon. @@ -43,6 +43,18 @@ ; Please try to keep this file in ASCII collating order. +Language +C + +Language +ObjC + +Language +C++ + +Language +ObjC++ + -help C ObjC C++ ObjC++ |