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. Use %j instead of /dev/null. From-SVN: r35854
This commit is contained in:
parent
05a3d06e01
commit
cc0dd8af22
@ -1,3 +1,8 @@
|
||||
2000-08-21 Nix <nix@esperi.demon.co.uk>
|
||||
|
||||
* lang-specs.h: Do not process -o or run the assembler if
|
||||
-fsyntax-only. Use %j instead of /dev/null.
|
||||
|
||||
2000-08-21 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* lang-specs.h: Pass -I* options to f771.
|
||||
|
@ -29,27 +29,27 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
||||
{".FPP", "@f77-cpp-input"},
|
||||
{"@f77-cpp-input",
|
||||
"tradcpp0 -lang-fortran %(cpp_options) %{!M:%{!MM:%{!E:%{!pipe:%g.f |\n\
|
||||
f771 %{!pipe:%g.f} %(cc1_options) %{I*} %{!S:-o %{|!pipe:%g.s} |\n\
|
||||
as %(asm_options) %{!pipe:%g.s} %A }}}}}\n"},
|
||||
f771 %{!pipe:%g.f} %(cc1_options) %{I*} %{!fsyntax-only:%{!S:-o %{|!pipe:%g.s} |\n\
|
||||
as %(asm_options) %{!pipe:%g.s} %A }}}}}}\n"},
|
||||
{".r", "@ratfor"},
|
||||
{"@ratfor",
|
||||
"%{C:%{!E:%eGNU C does not support -C without using -E}}\
|
||||
ratfor %{C} %{v} %i %{E:%W{o*}} %{!E: %{!pipe:-o %g.f} |\n\
|
||||
f771 %{!pipe:%g.f} %(cc1_options) %{I*} %{!S:-o %{|!pipe:%g.s} |\n\
|
||||
as %(asm_options) %{!pipe:%g.s} %A }}\n"},
|
||||
f771 %{!pipe:%g.f} %(cc1_options) %{I*} %{!fsyntax-only:%{!S:-o %{|!pipe:%g.s} |\n\
|
||||
as %(asm_options) %{!pipe:%g.s} %A }}}\n"},
|
||||
{".f", "@f77"},
|
||||
{".for", "@f77"},
|
||||
{".FOR", "@f77"},
|
||||
{"@f77",
|
||||
"%{!M:%{!MM:%{!E:f771 %i %(cc1_options) %{I*} %{!S:-o %{|!pipe:%g.s} |\n\
|
||||
as %(asm_options) %{!pipe:%g.s} %A }}}}\n"},
|
||||
"%{!M:%{!MM:%{!E:f771 %i %(cc1_options) %{I*} %{!fsyntax-only:%{!S:-o %{|!pipe:%g.s} |\n\
|
||||
as %(asm_options) %{!pipe:%g.s} %A }}}}}\n"},
|
||||
/* XXX This is perverse and should not be necessary. */
|
||||
{"@f77-version",
|
||||
"tradcpp0 -lang-fortran %(cpp_options) /dev/null \n\
|
||||
"tradcpp0 -lang-fortran %(cpp_options) %j \n\
|
||||
f771 -fnull-version %1 \
|
||||
%{!Q:-quiet} -dumpbase g77-version.f %{d*} %{m*} %{a*} \
|
||||
%{g*} %{O*} %{W*} %{w} %{pedantic*} \
|
||||
-version -fversion %{f*} %{I*} -o %g.s /dev/null \n\
|
||||
-version -fversion %{f*} %{I*} -o %g.s %j \n\
|
||||
as %a %Y -o %g%O %g.s %A \n\
|
||||
ld %l %X -o %g %g%O %{A} %{d} %{e*} %{m} %{N} %{n} \
|
||||
%{r} %{s} %{t} %{u*} %{x} %{z} %{Z} \
|
||||
|
Loading…
Reference in New Issue
Block a user