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,6e688afdbf4b6072 X-Google-Attributes: gid103376,public From: dewar@cs.nyu.edu (Robert Dewar) Subject: Re: Calling Ada from C Date: 1995/03/28 Message-ID: <3la3s6$eqo@gnat.cs.nyu.edu>#1/1 X-Deja-AN: 100540697 references: <3kp8il$avh@linus.mitre.org> <3ksanp$bab@theopolis.orl.mmc.com> <1995Mar24.121422.9469@eisner> <3l3kki$rg4@gnat.cs.nyu.edu> <3l6j5k$h05@theopolis.orl.mmc.com> organization: Courant Institute of Mathematical Sciences newsgroups: comp.lang.ada Date: 1995-03-28T00:00:00+00:00 List-Id: OK, Ted, to be more accurate, if the main program is in C, and the Ada packages are not all preelaborable, then you do indeed need right now to call an elaboration routine, as recommended in the RM. However it is in our plans to use Collect2 so that this elaboration is performed automatically (it's the same problem as getting C++ constructors elaborated, so it's a solved problem to do this automatically, we just haven't integrated this solution yet). Also rememember that these days, with Ada 95, you have to concern yourself not just with elaboration of library packages, but also with finaliation of library packages.