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,3826b2c39541bce,start X-Google-Attributes: gid103376,public From: mbenjamin@comshare.com (Matthew Benjamin) Subject: GNAT extern "C" Date: 1998/06/08 Message-ID: <6lheb7$5gb$1@inet-prime.comshare.com>#1/1 X-Deja-AN: 360772321 Organization: Comshare, Inc Newsgroups: comp.lang.ada Date: 1998-06-08T00:00:00+00:00 List-Id: Ada gurus, I've seen recent posts that describe compilation of the GNAT runtime system as a shared library, as well as calling external C functions. (Of course, the latter capability is part of the standard.) What I haven't figured out, though, if it is possible to export an Ada function/procedure as a C function in a shared library. The commercial compiler ObjectAda seems to be able to do this. Can I do the same with GNAT? Matt Benjamin