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=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fa37098a91cdd1ff,start X-Google-Attributes: gid103376,public X-Google-Thread: 1014db,fa37098a91cdd1ff,start X-Google-Attributes: gid1014db,public X-Google-Thread: 108717,fa37098a91cdd1ff,start X-Google-Attributes: gid108717,public X-Google-ArrivalTime: 1994-11-07 14:11:22 PST Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!pipex!uunet!gwu.edu!gwu.edu!not-for-mail From: hsingh@seas.gwu.edu (harmel singh) Newsgroups: comp.lang.c,comp.lang.ada,comp.programming Subject: === Interfacing C with Ada Date: 7 Nov 1994 13:50:20 -0500 Organization: George Washington University Message-ID: <39lstc$cpc@morse.seas.gwu.edu> NNTP-Posting-Host: 128.164.2.33 Xref: nntp.gmd.de comp.lang.c:67716 comp.lang.ada:16592 comp.programming:12655 Date: 1994-11-07T13:50:20-05:00 List-Id: Hi ... i need some help in interfacing C and Ada. :):) what i need is to call an Ada procedure from a C program. i opposite of this, i realize, can be done using the pragma INTERFACE... specifically i need help in the following... - can this be done at all... ? - is there any limitation(s) on this kind of interface in terms of parameters to procedures etc. - what kind of performance lags... r experienced. i am using the gcc v2.4 on sun sparcstation running SunOS 5.x for C as for Ada we have DACS and the Alsys compilers. any pointers/tips would be appreciated... thanks! Harmel.