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,e552d8828cec1fc7 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nlpi057.nbdc.sbc.com!prodigy.net!newsfeed-00.mathworks.com!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Is it possible to translate ada program to C using GCC or other tools? Date: Tue, 22 Jul 2008 21:44:27 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <334c1c0a-0c49-49d3-b03b-867c2288159c@25g2000hsx.googlegroups.com> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1216777467 18225 192.74.137.71 (23 Jul 2008 01:44:27 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Wed, 23 Jul 2008 01:44:27 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:myl+WbyEqZlUNZsnXftxSith0TM= Xref: g2news1.google.com comp.lang.ada:1270 Date: 2008-07-22T21:44:27-04:00 List-Id: climber.cui@gmail.com writes: > Hi all, > I would like to investigate on how ada's protected object and > tasking features are implemented with C/pthread. Is it possible to use > gcc(or other tools) to do the translation? You might be interested in the -gnatD or -gnatG switches. See the docs for details. Or just look at the sources for the runtime libs. - Bob