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