From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,f1823654f37e98f9 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!k2g2000yql.googlegroups.com!not-for-mail From: =?ISO-8859-1?Q?Hibou57_=28Yannick_Duch=EAne=29?= Newsgroups: comp.lang.ada Subject: Re: MinGW GNAT and GCC specs strings Date: Tue, 26 May 2009 23:36:05 -0700 (PDT) Organization: http://groups.google.com Message-ID: <14277761-4ef7-4588-a763-83e7c735cc23@k2g2000yql.googlegroups.com> References: NNTP-Posting-Host: 79.91.74.225 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1243406165 5679 127.0.0.1 (27 May 2009 06:36:05 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 27 May 2009 06:36:05 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: k2g2000yql.googlegroups.com; posting-host=79.91.74.225; posting-account=vrfdLAoAAAAauX_3XwyXEwXCWN3A1l8D User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; fr),gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:6034 Date: 2009-05-26T23:36:05-07:00 List-Id: I've just remember there are "lang-specs.h" files in each gcc/ 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.