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.6 required=5.0 tests=BAYES_05,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!usc!wuarchive!psuvax1!psuvm!esoc!kkeyte From: KKEYTE@ESOC.BITNET (Karl Keyte) Newsgroups: comp.lang.ada Subject: Re: Calling Ada routines from C programs. Message-ID: <91049.164842KKEYTE@ESOC.BITNET> Date: 18 Feb 91 16:14:24 GMT References: <1884@array.UUCP> Organisation: European Space Operation Centre (E.S.O.C) List-Id: The problem with trying to call Ada routines from another language is that quite frequently the Ada system requires its complete environment in order to function. This prevents single routines being called. A common way out it to wrap the entire system, say a C program, as an Ada main program which simply calls the C '_main' in order to start it. This then allows the 'C' to call Ada services. Karl