comp.lang.ada
 help / color / mirror / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: GNAT 3.15a compiler available?
Date: Wed, 09 Aug 2006 20:50:28 +0200
Date: 2006-08-09T20:50:28+02:00	[thread overview]
Message-ID: <87u04liw0b.fsf@ludovic-brenta.org> (raw)
In-Reply-To: 1155147408.853619.294060@i3g2000cwc.googlegroups.com

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.



  reply	other threads:[~2006-08-09 18:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-09 18:16 GNAT 3.15a compiler available? AskeyAJ
2006-08-09 18:50 ` Ludovic Brenta [this message]
2006-08-09 22:08   ` AskeyAJ
2006-08-11 20:39 ` Frank
2006-08-11 20:40   ` Frank
2006-08-14 13:29     ` AskeyAJ
2006-08-14 18:18       ` Frank
2006-08-14 22:35         ` Jeffrey Creem
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox