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 Path: g2news1.google.com!news1.google.com!news.glorb.com!feeder.erje.net!newsfeed.straub-nv.de!news.buerger.net!LF.net!news.enyo.de!not-for-mail From: Florian Weimer Newsgroups: comp.lang.ada Subject: Re: Interfacing Ada with Ada Date: Sat, 05 Dec 2009 11:22:22 +0100 Message-ID: <873a3plnz5.fsf@mid.deneb.enyo.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: idssi.enyo.de 1260008542 3317 212.9.189.177 (5 Dec 2009 10:22:22 GMT) X-Complaints-To: news@enyo.de Cancel-Lock: sha1:r2fzkQiZdjeMjBVHYAnxU4Md3IU= Xref: g2news1.google.com comp.lang.ada:8315 Date: 2009-12-05T11:22:22+01:00 List-Id: * dhenry: > I'm afraid my old code is using the gnat runtime :( > I imagined once something like interfacing old code with C and then > the C with new code. But linking may be hard, especially with the gnat > runtime dependency. If your platform has a decent linker, you can link the old code and only make very few symbols available. You need to link the GNAT run-time library statically, but that's probably the least of your problems.