diff options
author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-02 12:26:00 +0000 |
---|---|---|
committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-02 12:26:00 +0000 |
commit | 19dcb05b64dac1b3f6b41b66fbf6335bfcaa4926 (patch) | |
tree | 9d31c155fc6533acc82d406f6aeb96eb7ad549f9 /gcc/gcc.h | |
parent | eaf45f93c4ee922dbe317b8b9d7e180641fc86a8 (diff) | |
download | gcc-19dcb05b64dac1b3f6b41b66fbf6335bfcaa4926.tar.gz |
* gcc.c (set_collect_gcc_options): New function, split out from
main.
Ignore elided switches.
(do_spec_1): Invoke before executing command.
(set_input): Export.
Move declaration ...
* gcc.h (set_input): ... here.
* config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
file.
java:
* jvspec.c (jvgenmain_spec): Cannot use %umain, breaks
ASM_FINAL_SPEC.
(lang_specific_pre_link): Use set_input to set input_filename.
Append `main' here.
* jvgenmain.c (usage): Append literal `main' to CLASSNAME.
(main): Fix definition.
Strip `main' from classname.
Fixes PR java/227.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44572 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcc.h')
-rw-r--r-- | gcc/gcc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/gcc.h b/gcc/gcc.h index 62526769d86..55a79a90fa9 100644 --- a/gcc/gcc.h +++ b/gcc/gcc.h @@ -1,5 +1,5 @@ /* Header file for modules that link with gcc.c - Copyright (C) 1999 Free Software Foundation, Inc. + Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. This file is part of GNU CC. @@ -33,6 +33,7 @@ extern void fatal PARAMS ((const char *, ...)) ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN; extern void error PARAMS ((const char *, ...)) ATTRIBUTE_PRINTF_1; extern void pfatal_with_name PARAMS ((const char *)) ATTRIBUTE_NORETURN; +extern void set_input PARAMS ((const char *)); /* Spec files linked with gcc.c must provide definitions for these. */ |