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,9c25e1f865c6aea4 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-01-25 04:47:17 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!netnews.com!xfer02.netnews.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3C51465E.1964CB81@earthlink.net> From: "Marc A. Criley" Organization: Quadrus Corporation X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Pragma Export and initialized variables References: <877f1a1d.0201230215.32fcb15a@posting.google.com> <877f1a1d.0201240050.28d93959@posting.google.com> <7rHjSipcl0PM@eisner.encompasserve.org> <5ee5b646.0201241908.810e556@posting.google.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 25 Jan 2002 12:47:17 GMT NNTP-Posting-Host: 158.252.122.205 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 1011962837 158.252.122.205 (Fri, 25 Jan 2002 04:47:17 PST) NNTP-Posting-Date: Fri, 25 Jan 2002 04:47:17 PST X-Received-Date: Fri, 25 Jan 2002 04:47:17 PST (newsmaster1.prod.itd.earthlink.net) Xref: archiver1.google.com comp.lang.ada:19300 Date: 2002-01-25T12:47:17+00:00 List-Id: Robert Dewar wrote: > > Actually we find in the GNAT world that having only one > such set of entry points is inadequate, and the latest > version of GNAT has a special switch for gnatbind, -L > that can override the standard adainit/adafinal names. > This allows different Ada subsystems or libraries to > be separately initialized and finalized as required at > the time required. This is a good thing. A few years ago I had to compile a bunch of source code into a shared library, and we were using GNAT to do this. So as not to interfere with the calling program's own adainit and adafinal functions, I had GNAT generate and retain the source code for those functions, manually renamed them, then compiled them into the library. Glad to see that this situation has been recognized, and can be handled more cleanly. Marc A. Criley Consultant Quadrus Corporation www.quadruscorp.com