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,99a654d55a050b7b X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: Using ADA procedures from C Date: 1997/05/13 Message-ID: #1/1 X-Deja-AN: 241219945 References: <5l78vs$nn0$1@luna.ffi.no> Organization: New York University Newsgroups: comp.lang.ada Date: 1997-05-13T00:00:00+00:00 List-Id: Rune says <> First, I would like to reassure people that the GNAT reference manual (note caps!) does not mention calling ADA procedures, only Ada procedures :-) There are no examples because this is nothing special to do with GNAT. This is an absolutely standard RM required feature, so any Ada text will tell you how to do this using pragma Export. Don't expect the GNAT reference manual to be an Ada tutorial, that is not its function at all. It is not even a complete reference manual, in that basically the only detail is about things not covered by the standard RM. Now if your question is about how to compile and run such programs, then of course you look in the users guide, not the reference manual (the latter is only about language features and their syntax and semantics). In the users guide, you may find the section Mixed Language Programming helpful, it is an entire node, so it's hard to miss!