comp.lang.ada
 help / color / mirror / Atom feed
* ASIS in Debian and other platforms?
@ 2015-01-04  0:44 David Botton
  2015-01-04 11:57 ` Simon Wright
  0 siblings, 1 reply; 2+ messages in thread
From: David Botton @ 2015-01-04  0:44 UTC (permalink / raw)


I started a sub project of Gnoga to generate Docs from source (and also to provide other services to the soon coming Ada IDE in Gnoga). I've not found GnatDOC/GPS able to produce decent runs on Gnoga or other sources I've tried, it doesn't produce correct inheritance trees, TOC missing packages, etc.. It could be just broken in the shareware GNATs but as I mentioned I need lower level access for the IDE anyways.

I had discounted using ASIS for lack of availability but before going completely in another direction (although I do have some initial code working) I wanted to make sure it is not an option.

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.

If I know that I can easily build ASIS on every platform it certainly makes more sense to use it.

David Botton

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ASIS in Debian and other platforms?
  2015-01-04  0:44 ASIS in Debian and other platforms? David Botton
@ 2015-01-04 11:57 ` Simon Wright
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Wright @ 2015-01-04 11:57 UTC (permalink / raw)


David Botton <david@botton.com> 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/


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-04 11:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-04  0:44 ASIS in Debian and other platforms? David Botton
2015-01-04 11:57 ` Simon Wright

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