From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-0.9 required=3.0 tests=BAYES_00,FROM_ADDR_WS autolearn=no autolearn_force=no version=3.4.5-pre1 Date: 10 Dec 92 13:26:31 GMT From: agate!linus!linus.mitre.org!mwunix!m23588@ucbvax.Berkeley.EDU (Richard C onn) Subject: Re: Request for C to Ada Binding Builder tool Message-ID: <1992Dec10.132631.29108@linus.mitre.org> List-Id: In article <1992Dec8.155653.16731@afit.af.mil> $HOME@ss2.sews.wpafb.af.mil writ es: >In article <420@conan.UUCP>, dan@conan.UUCP (Dan Gray) writes: >|> Hi all, >|> >|> I'm looking for a tool that will take ANSI C functions >|> and create Ada bindings to all the C functions with >|> the appropriate pragmas, etc. This needs to work >|> for the Verdix Ada compiler. >|> >|> It is assumed that the application will be single-threaded >|> (non-tasking). I know that such tools have been used >|> in the past for developing X Windows (and OSF/Motif) bindings >|> by HP (for Alsys), but I don't know of any that are available >|> to the public for the Verdix compiler. >|> >|> You may reply directly to me: dan@talarian.com. >|> >|> Thanks in advance, >|> >|> Dan. > >Me too! > >maysee@ss1.sews.wpafb.af.mil > >Thanks, > >Eric I've tried the c2ada translator from ICC, and it seems to work OK. Note that it only works on C header files and not on a complete body of C source code (they are working on the latter as a commercial product). I my tests, I compiled the result using Sun Ada, and there were no problems. It looks like they have other versions as well. The files are on the host sgi.com, and you may use anonymous FTP. Once you log in, enter the directory c2ada and copy from there. Rick Conn