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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6e688afdbf4b6072 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-03-24 09:14:22 PST Path: nntp.gmd.de!stern.fokus.gmd.de!ceres.fokus.gmd.de!zib-berlin.de!Germany.EU.net!wizard.pn.com!sundog.tiac.net!news.kei.com!news.mathworks.com!news2.near.net!news3.near.net!noc.near.net!eisner!kilgallen From: kilgallen@eisner.decus.org (Larry Kilgallen, LJK Software) Newsgroups: comp.lang.ada Subject: Re: Calling Ada from C Message-ID: <1995Mar24.121422.9469@eisner> Date: 24 Mar 95 12:14:22 -0500 References: <3kp8il$avh@linus.mitre.org> <3ksanp$bab@theopolis.orl.mmc.com> Organization: DECUServe Date: 1995-03-24T12:14:22-05:00 List-Id: In article <3ksanp$bab@theopolis.orl.mmc.com>, Theodore Dennison writes: > All Ada compilers come with their own executive to perform stuff > like tasking, dynamic memory allocation/deallocation, and elaboration. Agreed. > As a result, certain operations are not available when your "main" > program is a C program, not an Ada program. I am not convinced that is true for "all Ada compilers". I cannot think of a reason why it should be true for DEC Ada, and looking at the Run-Time Reference Manual for running on VMS, I do not see such a restriction in the chapter on mixed language programming. (The Run-Time library for DEC Ada is included by the linker, regardless of the language for the main program.) If anyone knows of a failure of this sort for DEC Ada running on VMS, I would be interested to hear about it.