From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: A proposal for Debian policy for Ada
Date: Mon, 17 May 2010 02:01:27 -0400
Date: 2010-05-17T02:01:27-04:00 [thread overview]
Message-ID: <82iq6n2hjc.fsf@stephe-leake.org> (raw)
In-Reply-To: 87632ncxjg.fsf@ludovic-brenta.org
Ludovic Brenta <ludovic@ludovic-brenta.org> writes:
> "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> writes:
>> On Sun, 16 May 2010 22:48:19 +0200, Ludovic Brenta wrote:
>>
>> 5.3.6 seems to refer to the Ada library being packaged. What I mean is a
>> way to reference to an external C library, e.g. libgdk_pixbuf in the
>> example.
>
> Ah, I had not caught that subtlety. There are currently 2517 -dev
> packages in the libdevel section of Debian unstable. Are you suggesting
> that each -dev package for the C language should provide a GNAT Project
> file?
That would be the best thing for Ada users :). But then Perl, Python etc
would demand equal treatment.
> Or that each -dev package for an Ada library should provide an
> individual project file for each C library referenced? That seems like
> a *lot* of work.
Perhaps 'gcc -fdump-ada-spec' could be enhanced to generate the
corresponding gpr file (or maybe it does that already?).
>> project LIBRARY is
>> type Library_Kind_Type is ("static", "relocatable");
>> Library_Kind : Library_Kind_Type :=
>> external ("Library_Type", "relocatable");
>> for Library_Kind use Library_Kind;
>> for Library_Name use "LIBRARY"; -- Valid for either choice
>> for Library_Dir use "/usr/lib"; -- Valid for either choice
>> ...
>> for Externally_Built use "true";
>> end LIBRARY;
>
> That's a nice suggestion. I'll try to implement that for the release
> after Squeeze.
We can do this now for individual packages; the only thing the policy
needs is a standard name for the "Library_Type" environment variable.
--
-- Stephe
next prev parent reply other threads:[~2010-05-17 6:01 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-16 19:49 A proposal for Debian policy for Ada Dmitry A. Kazakov
2010-05-16 20:48 ` Ludovic Brenta
2010-05-16 21:15 ` Dmitry A. Kazakov
2010-05-16 22:05 ` Ludovic Brenta
2010-05-17 6:01 ` Stephen Leake [this message]
2010-05-17 9:28 ` Dmitry A. Kazakov
2010-05-17 10:02 ` Ludovic Brenta
2010-05-17 13:14 ` Dmitry A. Kazakov
2010-05-18 8:00 ` Stephen Leake
2010-05-18 8:39 ` Dmitry A. Kazakov
2010-05-18 9:53 ` Ludovic Brenta
2010-05-18 12:39 ` Dmitry A. Kazakov
2010-05-19 9:25 ` Stephen Leake
2010-05-19 9:47 ` Dmitry A. Kazakov
2010-05-20 10:45 ` Stephen Leake
2010-05-20 14:06 ` Dmitry A. Kazakov
2010-05-19 13:24 ` Björn Persson
2010-05-19 9:22 ` Stephen Leake
2010-05-19 9:52 ` Dmitry A. Kazakov
2010-05-19 10:41 ` Ludovic Brenta
2010-05-19 12:23 ` Dmitry A. Kazakov
2010-05-19 13:21 ` Ludovic Brenta
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox