FSF GCC merge 02/23/03
[official-gcc.git] / gcc / java / lang-options.h
blob5930006be9e8f0ab046b07f23b43d86a53dbbdbc
1 /* Switch definitions for the GNU compiler for the Java(TM) language.
2 Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
3 Free Software Foundation, Inc.
5 This file is part of GCC.
7 GCC is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2, or (at your option)
10 any later version.
12 GCC is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with GCC; see the file COPYING. If not, write to
19 the Free Software Foundation, 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA.
22 Java and all Java-based marks are trademarks or registered trademarks
23 of Sun Microsystems, Inc. in the United States and other countries.
24 The Free Software Foundation is independent of Sun Microsystems, Inc. */
26 /* This is the contribution to the `documented_lang_options' array in
27 toplev.c for java. */
29 DEFINE_LANG_NAME ("Java")
31 { "-fbounds-check", "" },
32 { "-fno-bounds-check",
33 N_("Disable automatic array bounds checking") },
34 { "-fno-store-check",
35 N_("Disable assignability checks for stores into object arrays") },
36 { "-fjni",
37 N_("Assume native functions are implemented using JNI") },
38 { "--bootclasspath",
39 N_("Replace system path") },
40 { "--classpath",
41 N_("Set class path") },
42 { "--CLASSPATH",
43 N_("Set class path (deprecated: use --classpath instead)") },
44 { "--main",
45 N_("Choose class whose main method should be used") },
46 { "--encoding",
47 N_("Choose input encoding (default comes from locale)") },
48 { "-I",
49 N_("Add directory to class path") },
50 { "-d",
51 N_("Directory where class files should be written") },
52 { "-Wredundant-modifiers",
53 N_("Warn if modifiers are specified when not necessary") },
54 { "-Wextraneous-semicolon",
55 N_("Warn if deprecated empty statements are found") },
56 { "-Wout-of-date",
57 N_("Warn if .class files are out of date") },
58 { "-fforce-classes-archive-check",
59 N_("Always check for non gcj generated classes archives") },
60 { "-fno-optimize-static-class-initialization",
61 N_("Never optimize static class initialization code") },
62 { "-findirect-dispatch",
63 N_("Use offset tables for virtual method calls") },