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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,11414a19b0e4a97a X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news1.google.com!news3.google.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: Advice on selling Ada to a C shop Date: Sat, 21 Aug 2010 11:22:39 +0200 Organization: A noiseless patient Spider Message-ID: <871v9ss4kg.fsf@ludovic-brenta.org> References: <101bf8f3-b823-45ee-9afd-40cbafb4b7a9@t26g2000prt.googlegroups.com> <4c1e0d26$0$2393$4d3efbfe@news.sover.net> <82d3va2psl.fsf@stephe-leake.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Sat, 21 Aug 2010 09:22:39 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="CRD6fkbcGMuJdt5qH+0UOA"; logging-data="19415"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18PISpBZFxEAZmD9qBMsC9Q" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:hJo1IVK50BaOMgx8NwDKuwlOT0I= sha1:Zs3T8awryccuzj1W/RyH2lNXSLw= Xref: g2news1.google.com comp.lang.ada:13572 Date: 2010-08-21T11:22:39+02:00 List-Id: "Yannick Duchêne (Hibou57)" writes: > Le Tue, 29 Jun 2010 10:42:18 +0200, Stephen Leake > a écrit: >> Yes, that's a non-starter. >> >> Be sure to mention GNAT's -fdump-ada-spec, which generates Ada package >> specs from C code. That makes it _much_ easier to import C correctly. > > Is it a standard GCC option or does it requires a patched GCC ? I have > built GCC and GNAT for a cross compiler some time ago, and do not > remember there was such an option in the configuration choices. This > may suggest “standard option”, but on the other hand, I cannot > suppose this is a standard GCC option as it is Ada related and GNAT > specific. > > Thanks to have mentioned this. It is a non-standard option insofar as it is not defined in the standard (ARM). AFAICT, this feature is present in GCC >= 4.5 and in GNAT GPL Edition >= 2010. -- Ludovic Brenta.