]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/fortran/lang-specs.h
arith.c: Change copyright header to refer to version 3 of the GNU General Public...
[thirdparty/gcc.git] / gcc / fortran / lang-specs.h
CommitLineData
6de9cd9a
DN
1/* Contribution to the specs for the GNU Compiler Collection
2 from GNU Fortran 95 compiler.
d234d788
NC
3 Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007
4 Free Software Foundation, Inc.
6de9cd9a 5
d234d788
NC
6 This file is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3 of the License, or
9 (at your option) any later version.
10
11 This file is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with GCC; see the file COPYING3. If not see
18 <http://www.gnu.org/licenses/>. */
6de9cd9a
DN
19
20/* This is the contribution to the `default_compilers' array in gcc.c
21 for the f95 language. */
22
d4fa05b9
TS
23{".F", "@f77-cpp-input", 0, 0, 0},
24{".fpp", "@f77-cpp-input", 0, 0, 0},
25{".FPP", "@f77-cpp-input", 0, 0, 0},
6de9cd9a 26{"@f77-cpp-input",
a67ec6ab 27 "cc1 -E -lang-fortran -traditional-cpp -D_LANGUAGE_FORTRAN %(cpp_options) \
6de9cd9a
DN
28 %{E|M|MM:%(cpp_debug_options)}\
29 %{!M:%{!MM:%{!E: -o %|.f |\n\
30 f951 %|.f %{!ffree-form:-ffixed-form} %(cc1_options) %{J*} %{I*}\
31198773 31 -fpreprocessed %{!nostdinc:-fintrinsic-modules-path finclude%s} %{!fsyntax-only:%(invoke_as)}}}}", 0, 0, 0},
d4fa05b9
TS
32{".F90", "@f95-cpp-input", 0, 0, 0},
33{".F95", "@f95-cpp-input", 0, 0, 0},
7befd5d2 34{".F03", "@f95-cpp-input", 0, 0, 0},
6de9cd9a 35{"@f95-cpp-input",
a67ec6ab 36 "cc1 -E -lang-fortran -traditional-cpp -D_LANGUAGE_FORTRAN %(cpp_options) \
6de9cd9a
DN
37 %{E|M|MM:%(cpp_debug_options)}\
38 %{!M:%{!MM:%{!E: -o %|.f95 |\n\
8fa36578 39 f951 %|.f95 %{!ffixed-form:-ffree-form} %(cc1_options) %{J*} %{I*}\
31198773 40 -fpreprocessed %{!nostdinc:-fintrinsic-modules-path finclude%s} %{!fsyntax-only:%(invoke_as)}}}}", 0, 0, 0},
d4fa05b9
TS
41{".f90", "@f95", 0, 0, 0},
42{".f95", "@f95", 0, 0, 0},
7befd5d2 43{".f03", "@f95", 0, 0, 0},
6de9cd9a 44{"@f95", "%{!E:f951 %i %(cc1_options) %{J*} %{I*}\
31198773 45 %{!nostdinc:-fintrinsic-modules-path finclude%s} %{!fsyntax-only:%(invoke_as)}}", 0, 0, 0},
d4fa05b9
TS
46{".f", "@f77", 0, 0, 0},
47{".for", "@f77", 0, 0, 0},
48{".FOR", "@f77", 0, 0, 0},
6de9cd9a 49{"@f77", "%{!E:f951 %i %{!ffree-form:-ffixed-form} %(cc1_options) %{J*} %{I*}\
31198773 50 %{!nostdinc:-fintrinsic-modules-path finclude%s} %{!fsyntax-only:%(invoke_as)}}", 0, 0, 0},