]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/f/lang-specs.h
* gcc.c (cpp_unique_options): Remove "-d" options.
[thirdparty/gcc.git] / gcc / f / lang-specs.h
1 /* lang-specs.h file for Fortran
2 Copyright (C) 1995, 1996, 1997, 1999, 2000 Free Software Foundation, Inc.
3 Contributed by James Craig Burley.
4
5 This file is part of GNU Fortran.
6
7 GNU Fortran is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2, or (at your option)
10 any later version.
11
12 GNU Fortran is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with GNU Fortran; see the file COPYING. If not, write to
19 the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
20 02111-1307, USA.
21
22 */
23
24 /* This is the contribution to the `default_compilers' array in gcc.c for
25 g77. */
26
27 {".F", "@f77-cpp-input", 0},
28 {".fpp", "@f77-cpp-input", 0},
29 {".FPP", "@f77-cpp-input", 0},
30 {"@f77-cpp-input",
31 "tradcpp0 -lang-fortran %(cpp_options) \
32 %{E|M|MM:%(cpp_debug_options)}\
33 %{!M:%{!MM:%{!E:%{!pipe:%g.f} |\n\
34 f771 %{!pipe:%g.f} %(cc1_options) %{I*} %{!fsyntax-only:%(invoke_as)}}}}", 0},
35 {".r", "@ratfor", 0},
36 {"@ratfor",
37 "%{C:%{!E:%eGNU C does not support -C without using -E}}\
38 %{CC:%{!E:%eGNU C does not support -CC without using -E}}\
39 ratfor %{C} %{CC} %{v} %i %{E:%W{o*}} %{!E: %{!pipe:-o %g.f} |\n\
40 f771 %{!pipe:%g.f} %(cc1_options) %{I*} %{!fsyntax-only:%(invoke_as)}}", 0},
41 {".f", "@f77", 0},
42 {".for", "@f77", 0},
43 {".FOR", "@f77", 0},
44 {"@f77",
45 "%{!M:%{!MM:%{!E:f771 %i %(cc1_options) %{I*}\
46 %{!fsyntax-only:%(invoke_as)}}}}", 0},