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-Thread: 103376,9a5d283b45b4416e X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.scarlet.biz!news.scarlet.biz.POSTED!not-for-mail NNTP-Posting-Date: Wed, 09 Aug 2006 13:49:51 -0500 From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: GNAT 3.15a compiler available? References: <1155147408.853619.294060@i3g2000cwc.googlegroups.com> Date: Wed, 09 Aug 2006 20:50:28 +0200 Message-ID: <87u04liw0b.fsf@ludovic-brenta.org> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:Tr/Qutfe9WEUqb9w6FKXxw3ZSpU= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 62.235.236.235 X-Trace: sv3-ZiWHjHK5M2CTWhs3YV7tUwra9SutT+dqaqJ46arzKRKzx5JT1Dc2xRYnasynVbfqMj3Iia08McS8BYI!86g+gs8SRxHfvZ9pnM4PsM9ihVQm8BJS9AcJG/bBGPeLjfmpXoBKZZrIjrZcR1m6cOSp/mm7of8= X-Complaints-To: abuse@scarlet.be X-DMCA-Complaints-To: abuse@scarlet.biz X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news2.google.com comp.lang.ada:6129 Date: 2006-08-09T20:50:28+02:00 List-Id: AskeyAJ writes: > Hello. I have some object files and ALI files that I need to bind/link > into some code I've written (I don't have the source code). The legacy > ALI files show the version at 3.15a. I found a 3.15p version last > night but I get an error message that the ALI files are not compatible > when doing a gnatbind. Two possibities I see. > > 1) a work around - anyone know one? Change the first line of each .ali file to: V "GNAT Lib v3.15" There is no guarantee that that'll work, though, because the .ali files also contain the checksums of source files from the GNAT 3.15a runtime library. > 2) find 3.15a on the net for free - anyone know of a link to this? I > googled 3.15a but can't find much. Finding 3.15p was easy. 3.15a was a GNAT Pro release; it is not available "for free", but, since it is licensed under the GPL, it is "Free Software". Therefore, whoever gave you the .ali and .o files has the right to also give you GNAT 3.15a. This is a very old version; you can also contact AdaCore and ask them for a copy, but there is no guarantee they'll grant your request. See http://www.adacore.com. > Or anyone know of another option - besides recompiling the legacy code > - because I don't have access to this. Ask whoever gave you the .ali and .o files to recompile with GNAT 3.15p (or GCC 3.4 or 4.1) and give you the resulting .ali and .o files? Or, if you can lure them into using GNAT GPL Edition for that, then they will *have* to provide you the sources :) :) :) HTH -- Ludovic Brenta.