diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-11-13 14:09:53 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-11-13 14:09:53 +0000 |
commit | 0276827277a48d5bd4c9962b74fc0108fabdee61 (patch) | |
tree | 68a3d48319d95915e8d7750b2f010afd3c795f67 /gcc/java/jcf.h | |
parent | 1859d8ec16fcbddf72639fcbe2130d6c2b9d6318 (diff) | |
download | gcc-0276827277a48d5bd4c9962b74fc0108fabdee61.tar.gz |
* 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>
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23640 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/jcf.h')
-rw-r--r-- | gcc/java/jcf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/java/jcf.h b/gcc/java/jcf.h index 1b8aff2dac6..8f748b3617f 100644 --- a/gcc/java/jcf.h +++ b/gcc/java/jcf.h @@ -245,6 +245,8 @@ extern int jcf_unexpected_eof PROTO ((JCF*, int)); ? (((PTR)[-3]&0x1F) << 12) + (((PTR)[-2]&0x3F) << 6) + ((PTR)[-1]&0x3F) \ : ((PTR)++, -1)) +extern char *jcf_write_base_directory; + /* Debug macros, for the front end */ extern int quiet_flag; |