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