diff options
author | Neil Booth <neil@daikokuya.co.uk> | 2003-06-15 14:56:32 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2003-06-15 14:56:32 +0000 |
commit | be43ab4e01784fedf2cb1eca843783e5eecd3535 (patch) | |
tree | bb53c4922fdf27602a271638fead41e6077d92ea /gcc/c.opt | |
parent | 4682ae0463c9fcc254fe1c8ede9da9133a9956bc (diff) | |
download | gcc-be43ab4e01784fedf2cb1eca843783e5eecd3535.zip gcc-be43ab4e01784fedf2cb1eca843783e5eecd3535.tar.gz gcc-be43ab4e01784fedf2cb1eca843783e5eecd3535.tar.bz2 |
c-opts.c (lang_flags): Update for new spelling of flags.
* 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.
From-SVN: r67976
Diffstat (limited to 'gcc/c.opt')
-rw-r--r-- | gcc/c.opt | 20 |
1 files changed, 16 insertions, 4 deletions
@@ -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++ |