* gcc.c (option_map): Remove --version.
[official-gcc.git] / gcc / f / lang-specs.h
blobd6c3a1453d9226dcd7b797e770c7217d78f5842c
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.
5 This file is part of GNU Fortran.
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.
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.
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.
24 /* This is the contribution to the `default_compilers' array in gcc.c for
25 g77. */
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) %{!M:%{!MM:%{!E:%{!pipe:%g.f} |\n\
32 f771 %{!pipe:%g.f} %(cc1_options) %{I*} %{!fsyntax-only:%(invoke_as)}}}}", 0},
33 {".r", "@ratfor", 0},
34 {"@ratfor",
35 "%{C:%{!E:%eGNU C does not support -C without using -E}}\
36 ratfor %{C} %{v} %i %{E:%W{o*}} %{!E: %{!pipe:-o %g.f} |\n\
37 f771 %{!pipe:%g.f} %(cc1_options) %{I*} %{!fsyntax-only:%(invoke_as)}}", 0},
38 {".f", "@f77", 0},
39 {".for", "@f77", 0},
40 {".FOR", "@f77", 0},
41 {"@f77",
42 "%{!M:%{!MM:%{!E:f771 %i %(cc1_options) %{I*}\
43 %{!fsyntax-only:%(invoke_as)}}}}", 0},