From e04a16fbeee9504247e0d069171a627096225028 Mon Sep 17 00:00:00 2001 From: Anthony Green Date: Sun, 6 Sep 1998 15:36:06 +0000 Subject: Initial revision From-SVN: r22299 --- gcc/java/lang-options.h | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 gcc/java/lang-options.h (limited to 'gcc/java/lang-options.h') diff --git a/gcc/java/lang-options.h b/gcc/java/lang-options.h new file mode 100644 index 0000000..f421e6a --- /dev/null +++ b/gcc/java/lang-options.h @@ -0,0 +1,35 @@ +/* Switch definitions for the GNU compiler for the Java(TM) language. + Copyright (C) 1998 Free Software Foundation, Inc. + +This file is part of GNU CC. + +GNU CC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GNU CC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GNU CC; see the file COPYING. If not, write to +the Free Software Foundation, 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. + +Java and all Java-based marks are trademarks or registered trademarks +of Sun Microsystems, Inc. in the United States and other countries. +The Free Software Foundation is independent of Sun Microsystems, Inc. */ + +/* This is the contribution to the `lang_options' array in gcc.c for + java. */ + +DEFINE_LANG_NAME ("Java") + + { "-fbounds-check", "" }, + { "-fno-bounds-check", "Disable automatic array bounds checking" }, + { "-fassume-compiled", "Make is_compiled_class return 1"}, + { "-fno-assume-compiled", "" }, + { "-femit-class-file", "" }, + { "-femit-class-files", "Dump class files to .class" }, -- cgit v1.1