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,80eb73f0b0257a79 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!g49g2000cwa.googlegroups.com!not-for-mail From: "Ludovic Brenta" Newsgroups: comp.lang.ada Subject: Re: Recompiling? Date: 29 Aug 2005 08:26:56 -0700 Organization: http://groups.google.com Message-ID: <1125329216.771128.216930@g49g2000cwa.googlegroups.com> References: <1125324015.247179.276030@g43g2000cwa.googlegroups.com> NNTP-Posting-Host: 212.190.145.10 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1125329222 22799 127.0.0.1 (29 Aug 2005 15:27:02 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 29 Aug 2005 15:27:02 +0000 (UTC) In-Reply-To: <1125324015.247179.276030@g43g2000cwa.googlegroups.com> User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; SunOS sun4u; fr-FR; rv:1.6) Gecko/20040116,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 SEVPXS01 Complaints-To: groups-abuse@google.com Injection-Info: g49g2000cwa.googlegroups.com; posting-host=212.190.145.10; posting-account=ZjNXewwAAADyBPkwI57_UcX8yKfXWOss Xref: g2news1.google.com comp.lang.ada:4319 Date: 2005-08-29T08:26:56-07:00 List-Id: Yes, every major release of GNAT, historically, breaks binary compatibility with previous releases. If your binary is linked with one version of libgnat, upgrading libgnat breaks your program. The issue is the same with C++ compilers, BTW. For example, g++-3.3 and g++-3.4 are incompatible with each other. The answer to this is to have a policy about when to switch compilers; one version of the compiler must be designated as "the system compiler" and used by all software that must be deployed together. One example of such a policy for Ada and GNAT can be found here: http://www.ada-france.org/debian/debian-ada-policy.html Unfortunately, it looks like no other GNU/Linux distribution has a policy for Ada (they normally have one for C++). -- Ludovic Brenta.