From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Date: 11 Nov 92 17:24:55 GMT From: dale.ksc.nasa.gov!rsimonia@ames.arc.nasa.gov (Rick Simonian) Subject: Calling Ada from a non-Ada language Message-ID: <1992Nov11.172455.11472@dale.ksc.nasa.gov> List-Id: I'm sure that most will consider this to be gross and unwieldy, but we need to be able to call Ada routines from non-Ada languages. We first want to solve the problem from C; other languages need to be addressed later. I would like to know of any experience doing this in a Unix environment, both where Ada is the main procedure, and where C (for example) is the main procedure. I'm aware of the obvious problems: how to link the executable if Ada is not the main, how to elaborate the Ada runtime, use of exceptions, passing complex structures, how tasking works, and so forth. Ada provides a reasonable means of calling non-Ada routines, but you hit a brick wall going the other way. This problem needs to be addressed in order to better integrate Ada into a heterogeneous environment. Rick Simonian Harris Space Systems Corp. simonian@x102a.ess.harris.com