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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: ASIS in Debian and other platforms? Date: Sun, 04 Jan 2015 11:57:26 +0000 Organization: A noiseless patient Spider Message-ID: References: <758f4aae-86b2-4e84-bea9-03083998a794@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="da19c0dc8eec016b1dd8c302a793eb7c"; logging-data="29640"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/kADhMd0tcRt23QXJuuyh9yfqNTqEmaZY=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) Cancel-Lock: sha1:kCW7IZhP68Y+wVFn5q7oDM6e6zI= sha1:3PQl6FPkUb0cXtJozBMb7R4xIh4= Xref: news.eternal-september.org comp.lang.ada:24338 Date: 2015-01-04T11:57:26+00:00 List-Id: David Botton writes: > I've noticed that ASIS is available on Debian and wanted to know if > anyone knows how they are maintaining it? > > My impression was that ASIS source must match the GNAT version and > Debian is using the FSF gcc/ada. ASIS reads the tree output file created when you say -gnatt. This is a binary file and depends on the compiler internals, which is why ASIS insists on a matching compiler revision. In GNAT GPL 2014, AdaCore create (from the compiler build tree) libgnat_util which contains all the components necessary to build ASIS and other tools which depend on the compiler internals (GNATColl). For my Mac FSF GCC builds, I replicated this (the internals are different on recent GCCs) in my SF GNAT Util Library project[1]. There are detailed how-to notes in the README in the distribution (4.9.1 is best). NB1, I think there might be some Darwin-specific choices in the list of files to be included. NB2, you need a live compiler source and build tree to get this to work. Debian do the same, but their library is called libgnatvsn. [1] https://sourceforge.net/projects/gnatutil/