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,648d77c9ea27b233 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-17 04:40:53 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!paloalto-snh1.gtei.net!lsanca1-snf1!news.gtei.net!newsfeed2.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3BCD62A3.2F391407@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: Catching Ada exceptions in C on an SGI References: <86g08jwhdy.fsf@mihalis.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed, 17 Oct 2001 11:40:50 GMT NNTP-Posting-Host: 63.178.180.33 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 1003318850 63.178.180.33 (Wed, 17 Oct 2001 04:40:50 PDT) NNTP-Posting-Date: Wed, 17 Oct 2001 04:40:50 PDT X-Received-Date: Wed, 17 Oct 2001 04:37:10 PDT (newsmaster1.prod.itd.earthlink.net) Xref: archiver1.google.com comp.lang.ada:14794 Date: 2001-10-17T11:40:50+00:00 List-Id: Dale Pennington wrote: > > > One thing I would like to check. The current Ada library already exports > adainit and adafinal. So this new wrapped library obviously cannot use the > same symbols for its init and final. Would the method be to run the bind > function, then edit the result .ads and .adb for my own name before > gnatmakeing and linking it ? I did something quite similar to this, only in the reverse :-) The project I worked on provided the library, compiled with GNAT, that was linked into an Apex Ada project. So as not to conflict with that environment's adainit and adafinal, I renamed those functions in the library to gnatadainit and gnatadafinal. Tested this with a C program and then supplied it to the other company along with directions on how to invoke it, and everything worked fine. Marc A. Criley Senior Staff Engineer Quadrus Corporation www.quadruscorp.com