Commit 05a3d06e by Nix Committed by Jeff Law

lang-specs.h: Do not process -o or run the assembler if -fsyntax-only.


        * lang-specs.h: Do not process -o or run the assembler if
        -fsyntax-only.

From-SVN: r35853
parent b7ba649a
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
* gcc.c (cc1_options): Do not process -o or run the assembler if * gcc.c (cc1_options): Do not process -o or run the assembler if
-fsyntax-only. -fsyntax-only.
* objc/lang-spec.h: Likewise.
2000-08-21 Eli Zaretskii <eliz@is.elta.co.il> 2000-08-21 Eli Zaretskii <eliz@is.elta.co.il>
......
2000-08-21 Nix <nix@esperi.demon.co.uk>
* lang-specs.h: Do not process -o or run the assembler if
-fsyntax-only.
2000-08-21 Joseph S. Myers <jsm28@cam.ac.uk> 2000-08-21 Joseph S. Myers <jsm28@cam.ac.uk>
* decl.c (flag_hosted, flag_noniso_default_format_attributes): New * decl.c (flag_hosted, flag_noniso_default_format_attributes): New
......
...@@ -37,19 +37,21 @@ Boston, MA 02111-1307, USA. */ ...@@ -37,19 +37,21 @@ Boston, MA 02111-1307, USA. */
%{fnew-abi:-D__GXX_ABI_VERSION=100}\ %{fnew-abi:-D__GXX_ABI_VERSION=100}\
%{ansi:-trigraphs -$ -D__STRICT_ANSI__}\ %{ansi:-trigraphs -$ -D__STRICT_ANSI__}\
%(cpp_options) %(cc1_options) %{+e*}\ %(cpp_options) %(cc1_options) %{+e*}\
%{!S:-o %{|!pipe:%g.s} |\n\ %{!fsyntax-only:%{!S:-o %{|!pipe:%g.s} |\n\
as %(asm_options) %{!pipe:%g.s} %A }}}}" as %(asm_options) %{!pipe:%g.s} %A }}}}}"
#else /* ! USE_CPPLIB */ #else /* ! USE_CPPLIB */
"cpp0 -lang-c++ %{!no-gcc:-D__GNUG__=%v1}\ "cpp0 -lang-c++ %{!no-gcc:-D__GNUG__=%v1}\
%{fnew-abi:-D__GXX_ABI_VERSION=100}\ %{fnew-abi:-D__GXX_ABI_VERSION=100}\
%{ansi:-trigraphs -$ -D__STRICT_ANSI__} %(cpp_options)\ %{ansi:-trigraphs -$ -D__STRICT_ANSI__} %(cpp_options)\
%{!M:%{!MM:%{!E:%{!pipe:%g.ii} |\n\ %{!M:%{!MM:%{!E:%{!pipe:%g.ii} |\n\
cc1plus %{!pipe:%g.ii} %(cc1_options) %{+e*} %{!S:-o %{|!pipe:%g.s} |\n\ cc1plus %{!pipe:%g.ii} %(cc1_options) %{+e*}\
as %(asm_options) %{!pipe:%g.s} %A }}}}\n" %{!fsyntax-only:%{!S:-o %{|!pipe:%g.s} |\n\
as %(asm_options) %{!pipe:%g.s} %A }}}}}\n"
#endif /* ! USE_CPPLIB */ #endif /* ! USE_CPPLIB */
}, },
{".ii", "@c++-cpp-output"}, {".ii", "@c++-cpp-output"},
{"@c++-cpp-output", {"@c++-cpp-output",
"%{!M:%{!MM:%{!E:\ "%{!M:%{!MM:%{!E:\
cc1plus -fpreprocessed %i %(cc1_options) %{+e*}\ cc1plus -fpreprocessed %i %(cc1_options) %{+e*}\
%{!S:-o %{|!pipe:%g.s} |\n as %(asm_options) %{!pipe:%g.s} %A }}}}"}, %{!fsyntax-only:%{!S:-o %{|!pipe:%g.s} |\n\
as %(asm_options) %{!pipe:%g.s} %A }}}}}"},
2000-08-21 Nix <nix@esperi.demon.co.uk>
* lang-specs.h: Do not process -o or run the assembler if
-fsyntax-only.
2000-08-09 Tom Tromey <tromey@cygnus.com> 2000-08-09 Tom Tromey <tromey@cygnus.com>
* parse.y (check_abstract_method_definitions): Now return `int'. * parse.y (check_abstract_method_definitions): Now return `int'.
......
...@@ -32,5 +32,5 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ ...@@ -32,5 +32,5 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
{"@java", {"@java",
"%{fjni:%{femit-class-file:%e-fjni and -femit-class-file are incompatible}}\ "%{fjni:%{femit-class-file:%e-fjni and -femit-class-file are incompatible}}\
%{!E:jc1 %i %(jc1) %(cc1_options) %{+e*} %{I*} %{MD} %{MMD} %{M} %{MM}\ %{!E:jc1 %i %(jc1) %(cc1_options) %{+e*} %{I*} %{MD} %{MMD} %{M} %{MM}\
%{!S:-o %{|!pipe:%g.s} |\n\ %{!fsyntax-only:%{!S:-o %{|!pipe:%g.s} |\n\
as %(asm_options) %{!pipe:%g.s} %A }}"}, as %(asm_options) %{!pipe:%g.s} %A }}}"},
...@@ -25,19 +25,19 @@ Boston, MA 02111-1307, USA. */ ...@@ -25,19 +25,19 @@ Boston, MA 02111-1307, USA. */
{"@objective-c", {"@objective-c",
#if USE_CPPLIB #if USE_CPPLIB
"%{E|M|MM:cpp0 -lang-objc %{ansi:-std=c89} %(cpp_options)}\ "%{E|M|MM:cpp0 -lang-objc %{ansi:-std=c89} %(cpp_options)}\
%{!E:%{!M:%{!MM:cc1obj -lang-objc %(cpp_options) %(cc1_options)\ %{!E:%{!M:%{!MM:cc1obj -lang-objc %(cpp_options) %(cc1_options) %{gen-decls}\
%{gen-decls} %{!S:-o %{|!pipe:%g.s} |\n\ %{!fsyntax-only:%{!S:-o %{|!pipe:%g.s} |\n\
as %(asm_options) %{!pipe:%g.s} %A }}}}" as %(asm_options) %{!pipe:%g.s} %A }}}}}"
#else /* ! USE_CPPLIB */ #else /* ! USE_CPPLIB */
"%(trad_capable_cpp) -lang-objc %{ansi:-std=c89} %(cpp_options)\ "%(trad_capable_cpp) -lang-objc %{ansi:-std=c89} %(cpp_options)\
%{!M:%{!MM:%{!E:%{!pipe:%g.mi} |\n\ %{!M:%{!MM:%{!E:%{!pipe:%g.mi} |\n\
cc1obj -lang-objc %{!pipe:%g.mi} %(cc1_options) %{gen-decls}\ cc1obj -lang-objc %{!pipe:%g.mi} %(cc1_options) %{gen-decls}\
%{!S:-o %{|!pipe:%g.s} |\n\ %{!fsyntax-only:%{!S:-o %{|!pipe:%g.s} |\n\
as %(asm_options) %{!pipe:%g.s} %A }}}}\n" as %(asm_options) %{!pipe:%g.s} %A }}}}}\n"
#endif /* ! USE_CPPLIB */ #endif /* ! USE_CPPLIB */
}, },
{".mi", "@objc-cpp-output"}, {".mi", "@objc-cpp-output"},
{"@objc-cpp-output", {"@objc-cpp-output",
"%{!M:%{!MM:%{!E:cc1obj -lang-objc %i %(cc1_options) %{gen-decls}\ "%{!M:%{!MM:%{!E:cc1obj -lang-objc %i %(cc1_options) %{gen-decls}\
%{!S:-o %{|!pipe:%g.s} |\n\ %{!fsyntax-only:%{!S:-o %{|!pipe:%g.s} |\n\
as %(asm_options) %{!pipe:%g.s} %A }}}}"}, as %(asm_options) %{!pipe:%g.s} %A }}}}}"},
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment