Re: Where to place Ada (Gnat) libraries
Matthew Woodcraft <mattheww@chiark.greenend.org.uk> writes:
> 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 have a question: whydo we have to keep .adb files in the package
since .ads files are meant to contain the interface? (well, indeed
except from generics).
--
Jérôme Marant
http://marant.org
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: