]>
Commit | Line | Data |
---|---|---|
1 | /* lang-specs.h -- GCC driver specs for D frontend. | |
2 | Copyright (C) 2006-2020 Free Software Foundation, Inc. | |
3 | ||
4 | GCC is free software; you can redistribute it and/or modify it under | |
5 | the terms of the GNU General Public License as published by the Free | |
6 | Software Foundation; either version 3, or (at your option) any later | |
7 | version. | |
8 | ||
9 | GCC is distributed in the hope that it will be useful, but WITHOUT ANY | |
10 | WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
11 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
12 | for more details. | |
13 | ||
14 | You should have received a copy of the GNU General Public License | |
15 | along with GCC; see the file COPYING3. If not see | |
16 | <http://www.gnu.org/licenses/>. */ | |
17 | ||
18 | /* This is the contribution to the `default_compilers' array in gcc.c | |
19 | for the D language. */ | |
20 | ||
21 | {".d", "@d", 0, 1, 0 }, | |
22 | {".dd", "@d", 0, 1, 0 }, | |
23 | {".di", "@d", 0, 1, 0 }, | |
24 | {"@d", | |
25 | "%{!E:d21 %i %(cc1_options) %I %{nostdinc*} %{i*} %{I*} %{J*} \ | |
26 | %{H} %{Hd*} %{Hf*} %{MD:-MD %b.deps} %{MMD:-MMD %b.deps} \ | |
27 | %{M} %{MM} %{MF*} %{MG} %{MP} %{MQ*} %{MT*} \ | |
28 | %{X:-Xf %b.json} %{Xf*} \ | |
29 | %{v} %{!fsyntax-only:%(invoke_as)}}", 0, 1, 0 }, |