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!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Advice on selling Ada to a C shop Date: Sat, 21 Aug 2010 11:10:32 +0100 Organization: A noiseless patient Spider Message-ID: References: <101bf8f3-b823-45ee-9afd-40cbafb4b7a9@t26g2000prt.googlegroups.com> <4c1e0d26$0$2393$4d3efbfe@news.sover.net> <82d3va2psl.fsf@stephe-leake.org> <871v9ss4kg.fsf@ludovic-brenta.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Sat, 21 Aug 2010 10:10:32 +0000 (UTC) Injection-Info: mx01.eternal-september.org; posting-host="KCXegvZb5vh43D+f3BR6Ew"; logging-data="22713"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18dL1NKB6s4BK8smuCXMPBnjCjDG+5Md7A=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (darwin) Cancel-Lock: sha1:nxYRMXzFgQMjms7y9UV8q4FzGEg= sha1:Ob6azOS1YpC78X0avTFIGot6emw= Xref: g2news1.google.com comp.lang.ada:13576 Date: 2010-08-21T11:10:32+01:00 List-Id: Ludovic Brenta writes: > "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. Not in 4.5.0.