OSDN Git Service

* gcc-interface/gigi.h (gnat_mark_addressable): Rename parameter.
[pf3gnuchains/gcc-fork.git] / gcc / ada / gcc-interface / lang-specs.h
1 /****************************************************************************
2  *                                                                          *
3  *                         GNAT COMPILER COMPONENTS                         *
4  *                                                                          *
5  *                            L A N G - S P E C S                           *
6  *                                                                          *
7  *                              C Header File                               *
8  *                                                                          *
9  *           Copyright (C) 1992-2009, Free Software Foundation, Inc.        *
10  *                                                                          *
11  * GNAT is free software;  you can  redistribute it  and/or modify it under *
12  * terms of the  GNU General Public License as published  by the Free Soft- *
13  * ware  Foundation;  either version 3,  or (at your option) any later ver- *
14  * sion.  GNAT is distributed in the hope that it will be useful, but WITH- *
15  * OUT ANY WARRANTY;  without even the  implied warranty of MERCHANTABILITY *
16  * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License *
17  * for  more details.  You should have received a copy of the GNU General   *
18  * Public License along with GCC; see the file COPYING3.  If not see        *
19  * <http://www.gnu.org/licenses/>.                                          *
20  *                                                                          *
21  * GNAT was originally developed  by the GNAT team at  New York University. *
22  * Extensive contributions were provided by Ada Core Technologies Inc.      *
23  *                                                                          *
24  ****************************************************************************/
25
26 /* This is the contribution to the `default_compilers' array in gcc.c for
27    GNAT.  */
28
29   {".ads", "@ada", 0, 0, 0},
30   {".adb", "@ada", 0, 0, 0},
31   {"@ada",
32    "\
33  %{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\
34  %{!S:%{!c:%e-c or -S required for Ada}}\
35  gnat1 %{I*} %{k8:-gnatk8} %{Wall:-gnatwa} %{w:-gnatws} %{!Q:-quiet}\
36     %{nostdinc*} %{nostdlib*}\
37     -dumpbase %{.adb:%b.adb}%{.ads:%b.ads}%{!.adb:%{!.ads:%b.ada}}\
38     %{c|S:%{o*:-auxbase-strip %*}%{!o*:-auxbase %b}}%{!c:%{!S:-auxbase %b}} \
39     %{O*} %{W*} %{w} %{p} %{pg:-p} %{a} %{d*} %{f*}\
40     %{coverage:-fprofile-arcs -ftest-coverage} "
41 #if CONFIG_DUAL_EXCEPTIONS
42    "%{fRTS=sjlj:-fsjlj} "
43 #endif
44    "%{gnatea:-gnatez} %{g*&m*} "
45 #if defined(TARGET_VXWORKS_RTP)
46    "%{fRTS=rtp:-mrtp} "
47 #endif
48    "%1 %{!S:%{o*:%w%*-gnatO}} \
49     %i %{S:%W{o*}%{!o*:-o %b.s}} \
50     %{gnatc*|gnats*: -o %j} %{-param*} \
51     %{!gnatc*:%{!gnats*:%(invoke_as)}}", 0, 0, 0},