From: "Hibou57 (Yannick Duchêne)" <yannick_duchene@yahoo.fr>
Subject: Re: MinGW GNAT and GCC specs strings
Date: Tue, 26 May 2009 23:36:05 -0700 (PDT)
Date: 2009-05-26T23:36:05-07:00 [thread overview]
Message-ID: <14277761-4ef7-4588-a763-83e7c735cc23@k2g2000yql.googlegroups.com> (raw)
In-Reply-To: ce83e6cd-9617-41ad-8360-4d04f553491e@g19g2000yql.googlegroups.com
I've just remember there are "lang-specs.h" files in each gcc/
<language> subdirectory.
The one for Ada language contains :
--
-----------------------------------------------------------------------
/* This is the contribution to the `default_compilers' array in gcc.c
for
GNAT. */
{".ads", "@ada", 0, 0, 0},
{".adb", "@ada", 0, 0, 0},
{"@ada",
"\
%{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are
incompatible}}\
%{!S:%{!c:%e-c or -S required for Ada}}\
gnat1 %{I*} %{k8:-gnatk8} %{w:-gnatws} %{!Q:-quiet} %{nostdinc*}\
%{nostdlib*}\
-dumpbase %{.adb:%b.adb}%{.ads:%b.ads}%{!.adb:%{!.ads:%b.ada}}\
%{O*} %{W*} %{w} %{p} %{pg:-p} %{a} %{f*} %{d*} %{g*&m*} %1\
%{!S:%{o*:%w%*-gnatO}} \
%i %{S:%W{o*}%{!o*:-o %b.s}} \
%{gnatc*|gnats*: -o %j} %{-param*} \
%{!gnatc*:%{!gnats*:%(invoke_as)}}", 0, 0, 0},
--
-----------------------------------------------------------------------
I gonna use it as a pattern and try to play with it.
next prev parent reply other threads:[~2009-05-27 6:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-27 5:02 MinGW GNAT and GCC specs strings Hibou57 (Yannick Duchêne)
2009-05-27 6:36 ` Hibou57 (Yannick Duchêne) [this message]
2009-05-27 7:27 ` Hibou57 (Yannick Duchêne)
2009-05-27 15:13 ` anhvofrcaus
2009-06-04 5:03 ` Hibou57 (Yannick Duchêne)
2009-06-04 15:20 ` anhvofrcaus
2009-06-04 15:58 ` Hibou57 (Yannick Duchêne)
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox