[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Where to place Ada (Gnat) libraries



Ian Sharpe <igs_debian@sharpe-practice.co.uk> wrote:
>Is there a Debian-preferred location for .ali files (etc) produced by
>the Gnat Ada compiler? The pattern seems to be:
>
>  .a/.so files in /usr/lib
>  .ali files in /usr/lib/xxx
>  .ads/.adb files in /usr/include/xxx
>
>where xxx is the package that the library is a part of.

The current packages aren't entirely consistent. libasis keeps the .ads
and .adb files in /usr/lib/asis/ along with the .ali files.

It might also be worth looking at Florian Weimer's proposed 'GNU Ada
Environment Specification'[1], which proposes a different layout, with
.ads and .adb files under /usr/{lib,share}/ada/adainclude, and .ali and
.a files under /usr/lib/adalib.

I believe this structure comes from the Ada for Linux Team's RPMs, by
Jürgen Pfeifer [2].

-M-


[1] http://cert.uni-stuttgart.de/files/fw/gnae.html
[2] http://www.gnuada.org/alt.html


-- 
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: