diff options
author | Zack Weinberg <zack@rabi.phys.columbia.edu> | 1999-05-10 15:31:28 +0000 |
---|---|---|
committer | Dave Brolley <brolley@gcc.gnu.org> | 1999-05-10 11:31:28 -0400 |
commit | 9234f99569a65b58168b40567bfa8d4fa0f790b9 (patch) | |
tree | 502e96d4c577db3c656ef0603e5d78b26462053c /gcc | |
parent | 5f4609821f35f7175abe07db3597eb01690ef956 (diff) | |
download | gcc-9234f99569a65b58168b40567bfa8d4fa0f790b9.zip gcc-9234f99569a65b58168b40567bfa8d4fa0f790b9.tar.gz gcc-9234f99569a65b58168b40567bfa8d4fa0f790b9.tar.bz2 |
cppspec.c: Treat two non-option arguments as input and output file.
1999-05-10 18:21 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
* cppspec.c: Treat two non-option arguments as input and
output file. Three or more non-option args is an error.
Clean up.
* gcc.c (default_compilers): Pass -$ to the preprocessor.
* objc/lang-specs.h: Likewise.
From-SVN: r26872
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/objc/lang-specs.h | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d9b5942..9039f91 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -19,8 +19,7 @@ output file. Three or more non-option args is an error. Clean up. * gcc.c (default_compilers): Pass -$ to the preprocessor. - * cp/lang-specs.h, ch/lang-specs.h, f/lang-specs.h, - objc/lang-specs.h: Likewise. + * objc/lang-specs.h: Likewise. Mon May 10 12:59:20 1999 Jeffrey A Law (law@cygnus.com) diff --git a/gcc/objc/lang-specs.h b/gcc/objc/lang-specs.h index 55a509e..d76dee8 100644 --- a/gcc/objc/lang-specs.h +++ b/gcc/objc/lang-specs.h @@ -24,7 +24,7 @@ Boston, MA 02111-1307, USA. */ {".m", {"@objective-c"}}, {"@objective-c", #if USE_CPPLIB - {"%{E|M|MM:cpp -lang-objc %{nostdinc*} %{C} %{v} %{A*} %{I*} %{P} %I\ + {"%{E|M|MM:cpp -lang-objc %{nostdinc*} %{C} %{v} %{A*} %{I*} %{P} %{$} %I\ %{C:%{!E:%eGNU C does not support -C without using -E}}\ %{M} %{MM} %{MD:-MD %b.d} %{MMD:-MMD %b.d} %{MG}\ -D__OBJC__ -D__GNUC__=%v1 -D__GNUC_MINOR__=%v2\ @@ -55,7 +55,7 @@ Boston, MA 02111-1307, USA. */ %{c:%W{o*}%{!o*:-o %w%b%O}}%{!c:-o %d%w%u%O}\ %{!pipe:%g.s} %A\n }}}}"} #else /* ! USE_CPPLIB */ - {"cpp -lang-objc %{nostdinc*} %{C} %{v} %{A*} %{I*} %{P} %I\ + {"cpp -lang-objc %{nostdinc*} %{C} %{v} %{A*} %{I*} %{P} %{$} %I\ %{C:%{!E:%eGNU C does not support -C without using -E}}\ %{M} %{MM} %{MD:-MD %b.d} %{MMD:-MMD %b.d} %{MG}\ -D__OBJC__ -D__GNUC__=%v1 -D__GNUC_MINOR__=%v2\ |