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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,7993782f4ec0bb4f X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!k4g2000yqb.googlegroups.com!not-for-mail From: sjw Newsgroups: comp.lang.ada Subject: Re: Interfacing Ada with Ada Date: Wed, 2 Dec 2009 14:15:47 -0800 (PST) Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: 82.30.110.254 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1259792147 14415 127.0.0.1 (2 Dec 2009 22:15:47 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 2 Dec 2009 22:15:47 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: k4g2000yqb.googlegroups.com; posting-host=82.30.110.254; posting-account=_RXWmAoAAADQS3ojtLFDmTNJCT0N2R4U User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-us) AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/531.21.10,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:8291 Date: 2009-12-02T14:15:47-08:00 List-Id: On Dec 2, 2:54=A0pm, dhenry wrote: > Is it possible to interface Ada code compiled with an older compiler > (gnat 3.14) and for which I just have specs (ads), objects and ali > files (so I can't recompile it), with Ada code compiled with a newer > compiler (gnat 2009), and for which I have all the sources? Your problem (well, one of them!) is going to be with getting elaboration right. Then there's differences between the runtimes expected by generated code. For the elaboration problem, do you have enough 3.14 artefacts to allow you to run the 3.14 binder? You could maybe make a library out of the 3.14 code (+ 3.14 runtime)? Not sure how much reliance I'd want to place on the result.