From: climber.cui@gmail.com
Subject: Re: Is it possible to translate ada program to C using GCC or other tools?
Date: Tue, 22 Jul 2008 17:59:25 -0700 (PDT)
Date: 2008-07-22T17:59:25-07:00 [thread overview]
Message-ID: <6a8fff3d-f683-4185-8ed5-6cac81ff40ab@t54g2000hsg.googlegroups.com> (raw)
In-Reply-To: DKuhk.265494$yE1.117910@attbi_s21
On Jul 22, 8:15 pm, "Jeffrey R. Carter"
<spam.jrcarter....@spam.acm.org> wrote:
> climber....@gmail.com wrote:
>
> > 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?
>
> What makes you think these features are implemented in C?
>
> gcc will not translate Ada to C.
>
> SofCheck has a compiler that uses ANSI C as its intermediate language, but I
> suspect what you're interested in is part of their runtime code, not the code
> produced by the compiler.
>
> --
> Jeff Carter
> "It's symbolic of his struggle against reality."
> Monty Python's Life of Brian
> 78
yes, you are right. It is the Gnat runtime code that implements the
concurrent features. But I first want to see what runtime calls is
made for certain ADA constructs. When i try to read gcc source code, i
got lost at the beginning.
next prev parent reply other threads:[~2008-07-23 0:59 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 [this message]
2008-07-23 0:45 ` Is it possible to translate ada program to C using GCC or other anon
2008-07-23 1:05 ` 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