summaryrefslogtreecommitdiff
path: root/gcc/java/lang-options.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@cygnus.com>1998-11-13 14:09:53 +0000
committerTom Tromey <tromey@gcc.gnu.org>1998-11-13 14:09:53 +0000
commitdf66b5660c1dc2f388b54d3d8d14951ead739edb (patch)
tree68a3d48319d95915e8d7750b2f010afd3c795f67 /gcc/java/lang-options.h
parentbbeeb2b0201c839ffc6c66f0f472b88964387e63 (diff)
downloadgcc-df66b5660c1dc2f388b54d3d8d14951ead739edb.tar.gz
gjavah.c (main): Handle --output-class-directory argument.
* gjavah.c (main): Handle --output-class-directory argument. * jvspec.c (lang_specific_driver): Translate `-d' into -foutput-class-dir. * jcf.h (jcf_write_base_directory): Declare. * lang.c (lang_decode_option): Recognize -foutput-class-dir. * lang-options.h: Mention -foutput-class-dir. * jcf-write.c (jcf_write_base_directory): New global. (make_class_file_name): Put generated .class file into `-d' directory, or into source directory if -d not given. Function now static. (write_classfile): Free class file name. Handle case where class file name is NULL. (DIR_SEPARATOR): New macro. Include <sys/stat.h> From-SVN: r23640
Diffstat (limited to 'gcc/java/lang-options.h')
-rw-r--r--gcc/java/lang-options.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/java/lang-options.h b/gcc/java/lang-options.h
index 46101931e60..56d023cdd93 100644
--- a/gcc/java/lang-options.h
+++ b/gcc/java/lang-options.h
@@ -25,11 +25,8 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
/* This is the contribution to the `lang_options' array in gcc.c for
java. */
-/* CYGNUS LOCAL - the format of this file has been changed to
- allow cc1 to implement --help. nickc/--help */
-
DEFINE_LANG_NAME ("Java")
-
+
{ "-fbounds-check", "" },
{ "-fno-bounds-check", "Disable automatic array bounds checking" },
{ "-fassume-compiled", "Make is_compiled_class return 1"},
@@ -43,3 +40,4 @@ DEFINE_LANG_NAME ("Java")
{ "-fclasspath", "Set class path and suppress system path" },
{ "-fCLASSPATH", "Set class path" },
{ "-I", "Add directory to class path" },
+ { "-foutput-class-dir", "Directory where class files should be written" },