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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fb31058bf1e77e96 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-05-16 05:34:33 PST Path: archiver1.sj.google.com!newsfeed.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!newsfeed.direct.ca!look.ca!newsfeed1.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3B0266C2.9FD7D9BC@earthlink.net> From: "Marc A. Criley" Organization: Quadrus Corporation X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: c2ada running problem References: <3B0177A0.231B370F@gmx.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed, 16 May 2001 12:34:31 GMT NNTP-Posting-Host: 158.252.122.149 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 990016471 158.252.122.149 (Wed, 16 May 2001 05:34:31 PDT) NNTP-Posting-Date: Wed, 16 May 2001 05:34:31 PDT X-Received-Date: Wed, 16 May 2001 05:32:52 PDT (newsmaster1.prod.itd.earthlink.net) Xref: archiver1.sj.google.com comp.lang.ada:7555 Date: 2001-05-16T12:34:31+00:00 List-Id: 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