Skip several gcc.dg/builtin-dynamic-object-size tests on hppa*-*-hpux*
[official-gcc.git] / gcc / ada / gcc-interface / lang-specs.h
blob92d311a3a6868e0677bf4760014d47f3115bf88f
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-2023, 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 ****************************************************************************/
26 /* Pass -d* flags to the actual compiler, but mapping non-Ada
27 extensions to .ada in dump file names. */
28 #define ADA_DUMPS_OPTIONS DUMPS_OPTIONS ("%{!.adb:%{!.ads:.ada}}")
30 /* This is the contribution to the `default_compilers' array in gcc.cc for
31 GNAT. */
33 {".ads", "@ada", 0, 0, 0},
34 {".adb", "@ada", 0, 0, 0},
35 {"@ada",
37 %{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\
38 %{!S:%{!c:%e-c or -S required for Ada}}\
39 gnat1 %{I*} %{k8:-gnatk8} %{!Q:-quiet}\
40 %{nostdinc*} %{nostdlib*}\
41 %{fcompare-debug-second:-gnatd_A} \
42 %{O*} %{W*} %{w} %{p} %{pg:-p} " ADA_DUMPS_OPTIONS " \
43 %{coverage:-fprofile-arcs -ftest-coverage} "
44 #if defined(TARGET_VXWORKS_RTP)
45 "%{fRTS=rtp|fRTS=rtp-smp|fRTS=ravenscar-cert-rtp:-mrtp} "
46 #endif
47 "%{Wall:-gnatwa} %{Werror:-gnatwe} %{w:-gnatws} \
48 %{gnatea:-gnatez} %{g*&m*&f*} \
49 %1 %{!S:%{o*:%w%*-gnatO}} \
50 %i %{S:%W{o*}%{!o*:-o %w%b.s}} \
51 %{gnatc*|gnats*: -o %j} %{-param*} \
52 %{!gnatc*:%{!gnats*:%(invoke_as)}}", 0, 0, 0},
54 {"@adawhy",
56 %{!c:%e-c required for gnat2why}\
57 gnat1why %{I*} %{k8:-gnatk8} %{!Q:-quiet}\
58 %{nostdinc*} %{nostdlib*}\
59 %{a} " ADA_DUMPS_OPTIONS " \
60 %{gnatea:-gnatez} %{g*&m*&f*} \
61 %1 %{o*:%w%*-gnatO} \
62 %i \
63 %{gnatc*|gnats*: -o %j} %{-param*} ", 0, 0, 0},
65 {"@adascil",
67 %{!c:%e-c required for gnat2scil}\
68 gnat1scil %{I*} %{k8:-gnatk8} %{!Q:-quiet}\
69 %{nostdinc*} %{nostdlib*}\
70 %{a} " ADA_DUMPS_OPTIONS " \
71 %{gnatea:-gnatez} %{g*&m*&f*} \
72 %1 %{o*:%w%*-gnatO} \
73 %i \
74 %{gnatc*|gnats*: -o %j} %{-param*} ", 0, 0, 0},