comp.lang.ada
 help / color / mirror / Atom feed
* c2ada running problem
@ 2001-05-15 18:38 Henrik Quintel
  2001-05-16 12:34 ` Marc A. Criley
  0 siblings, 1 reply; 3+ messages in thread
From: Henrik Quintel @ 2001-05-15 18:38 UTC (permalink / raw)


Dear all,
Peter helped me fine. c2ada is now running on my system.
The problem that comes up is that it ony translates small files
but no large ones. c2ada doesn't accept C comments in any way.
It doesn't accepts empty lines. A lot of strange things happens.
A typical "hello world" program is translated, but in other cases
it doesn't. If ahve the readme file and the HTML documentaion many
times but I don't know what to do.
If someone has a c2ada compiler that works, is it possible that I send
you the sources of my C programs (3 .c files and 4 .h files, very
small!).
On the other hand side it seems that c2ada primary translates the header
files.
In some cases it hangs and I have to kill the associated process.
Strange, strange.
Perhaps someone can help me!

Thanks for all.

Greetings Henrik






^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: c2ada running problem
  2001-05-15 18:38 c2ada running problem Henrik Quintel
@ 2001-05-16 12:34 ` Marc A. Criley
  2001-05-16 18:13   ` Henrik Quintel
  0 siblings, 1 reply; 3+ messages in thread
From: Marc A. Criley @ 2001-05-16 12:34 UTC (permalink / raw)


Henrik Quintel wrote:
> 
> Dear all,
> Peter helped me fine. c2ada is now running on my system.
> The problem that comes up is that it ony translates small files
> but no large ones. c2ada doesn't accept C comments in any way.
> It doesn't accepts empty lines. A lot of strange things happens.
> A typical "hello world" program is translated, but in other cases
> it doesn't. If ahve the readme file and the HTML documentaion many
> times but I don't know what to do.
> If someone has a c2ada compiler that works, is it possible that I send
> you the sources of my C programs (3 .c files and 4 .h files, very
> small!).
> On the other hand side it seems that c2ada primary translates the header
> files.

I have not used c2ada in a long time, but I believe its purpose is to
generate Ada bindings to C header files, not to generally translate C
programs into Ada.  Your experience supports this.

Marc A. Criley
Senior Staff Engineer
Quadrus Corporation
www.quadruscorp.com



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: c2ada running problem
  2001-05-16 12:34 ` Marc A. Criley
@ 2001-05-16 18:13   ` Henrik Quintel
  0 siblings, 0 replies; 3+ messages in thread
From: Henrik Quintel @ 2001-05-16 18:13 UTC (permalink / raw)


Dear Marc,

> I have not used c2ada in a long time, but I believe its purpose is to
> generate Ada bindings to C header files, not to generally translate C
> programs into Ada.  Your experience supports this.
>
> Marc A. Criley
> Senior Staff Engineer
> Quadrus Corporation
> www.quadruscorp.com

  That sound curious because on the webpage c2ada.html they say that c2ada
translates header files and bodies. BTW, small C programs like a "hello world"

are translated by c2ada perfect.

Thanks for all.

Greetings Henrik




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-05-16 18:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-15 18:38 c2ada running problem Henrik Quintel
2001-05-16 12:34 ` Marc A. Criley
2001-05-16 18:13   ` Henrik Quintel

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