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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8c2e7f8bf8bb63e0 X-Google-Attributes: gid103376,public From: Samuel Mize Subject: Re: In GNAT/Ada95(main) use a C-Program Date: 1999/06/09 Message-ID: <7jlv28$256f@news1.newsguy.com>#1/1 X-Deja-AN: 487536587 References: <375E60AD.C56EAE59@sbox.tu-graz.ac.at> <7jlrn0$c2h@hobbes.crc.com> Organization: ImagiNet Communications, Ltd. User-Agent: tin/pre-1.4-981002 ("Phobia") (UNIX) (AIX/3-2) Newsgroups: comp.lang.ada Date: 1999-06-09T00:00:00+00:00 List-Id: David C. Hoos, Sr. wrote: > Gerhard Griessnig wrote in message <375E60AD.C56EAE59@sbox.tu-graz.ac.at>... >>Hello, >>we want to bind C-Programs in a GNAT-Ada95 Mainprogram. >>How is it possible, and who is able to send us some examples. ... > For the binding of C to Ada, how about reading the > Gnat User's Guide, especially the section titled > Mixed Language Programming That's pretty brief, and has no examples (at least in my 3.10 version). Is there a tutorial we can point him to? Also, the Ada Reference Manual, Appendix B, sections 1 through 3, are where the interfacing capabilities are defined -- but again, this is a reference, not a tutorial. Best, Sam Mize -- Samuel Mize -- smize@imagin.net (home email) -- Team Ada Fight Spam: see http://www.cauce.org/ \\\ Smert Spamonam