comp.lang.ada
 help / color / mirror / Atom feed
From: anon@anon.org (anon)
Subject: Re: Is it possible to translate ada program to C using GCC or other
Date: Wed, 23 Jul 2008 00:45:42 GMT
Date: 2008-07-23T00:45:42+00:00	[thread overview]
Message-ID: <Wavhk.130894$102.20114@bgtnsc05-news.ops.worldnet.att.net> (raw)
In-Reply-To: 334c1c0a-0c49-49d3-b03b-867c2288159c@25g2000hsx.googlegroups.com

No!

In GNAT the compiler generates assembly code. With one exception that is
"GNATBIND" program. Using the "-C" option, GNATBIND with produce its 
binder program in C. But that does very little for what most people want. 

A thesis, back in 1991 by Jeffrey Skinner, was in titled "Ada2C: An 
ADA-To-C Program Translator" but it seams that today, most "Ada2C" 
programs have more to do with homework assignments than actual working 
programs.


In <334c1c0a-0c49-49d3-b03b-867c2288159c@25g2000hsx.googlegroups.com>, 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?
>
>  thanks.
>
>tony




  parent reply	other threads:[~2008-07-23  0:45 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-22 20:48 Is it possible to translate ada program to C using GCC or other tools? climber.cui
2008-07-23  0:15 ` Jeffrey R. Carter
2008-07-23  0:59   ` climber.cui
2008-07-23  0:45 ` anon [this message]
2008-07-23  1:05   ` Is it possible to translate ada program to C using GCC or other climber.cui
2008-07-23  7:01     ` anon
2008-07-23 10:12     ` Pascal Obry
2008-07-23  1:44 ` Is it possible to translate ada program to C using GCC or other tools? Robert A Duff
2008-07-23  2:23 ` Steve
2008-07-23  6:46   ` Peter Schildmann
2008-07-24  1:32     ` Steve
2008-07-23  7:54 ` Georg Bauhaus
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox