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,efe914451b155bdc X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-06-29 13:54:20 PST Path: archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!news-feed.riddles.org.uk!fr.clara.net!heighliner.fr.clara.net!fr.usenet-edu.net!usenet-edu.net!fu-berlin.de!news.cid.net!news.enyo.de!news1.enyo.de!not-for-mail From: Florian Weimer Newsgroups: comp.lang.ada Subject: Re: Ada Shared Libray on Linux Date: 29 Jun 2001 23:02:15 +0200 Organization: Enyo's not your organization Message-ID: <87zoarc84o.fsf@deneb.enyo.de> References: <9hahkh$q8b$07$1@news.t-online.com> <871yo7dp9r.fsf@deneb.enyo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Xref: archiver1.google.com comp.lang.ada:9267 Date: 2001-06-29T23:02:15+02:00 List-Id: Simon Wright writes: >> It's described in detail in the GNAT users guide. You should call >> adainit and adafinal respectively. > > Is that going to cause interesting issues if you have >1 shared > library? Yes, this can be a bit tricky, I think. > or if you link an Ada .so with an Ada main? In case of an Ada main, the binder takes care of this (at least if the shared objects aren't treated as opaque).