From: Tapio Kelloniemi <spam18@thack.org>
Subject: Re: Debian Policy for Ada, Second Edition
Date: Sat, 18 Mar 2006 21:16:20 GMT
Date: 2006-03-18T21:16:20+00:00 [thread overview]
Message-ID: <EM_Sf.934$ha2.765@reader1.news.jippii.net> (raw)
In-Reply-To: 441C3610.9000902@obry.net
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1514 bytes --]
Pascal Obry <pascal@obry.net> wrote:
>Ludovic Brenta a écrit :
>
>> I am not aware of a GNAT default. What is the default? And why does
>> it not follow the GNAE?
>
>The scheme is something like:
>
>/opt/GNAT/<ver>
> /bin <- binaries there
> /lib/gnat/ <- project files there (GNAT looks there)
> /lib/gnat/<project> <- if needed sub-project files
> /lib/<project> <- .o .ali .a .so for <project>
> /lib <- sym links to .a and .so above
> /include/<project> <- .ads/.adb for <project>
GNAT people seemingly haven't read FHS. This is what it says about the
include directory:
"This is where all of the system's general-use include files for the C
programming language should be placed."
Non-C languages generally use lib, like Python and Ruby. Even GNAT
installs its library's .adb and .ads files to lib/gcc/*/*/adainclude even
though libstdc++ headers go to /usr/include/c++. I'm not saying that GNAT
people made a wrong decision when they choose include, but at least they
should be consistent.
I would like to raise the question publicly: where Ada-folks would like to put
their .adb and .ads files? Well, perhaps this is redundant, since most likely
people will follow the path set up by GNAT.. I'm very glad that after all
these years GNAT developers have recognised that there must be a general way
to link against external libraries, whereas this feature has always been
present for C and C++ (at least in the GNU system).
--
Tapio
next prev parent reply other threads:[~2006-03-18 21:16 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-18 1:15 Debian Policy for Ada, Second Edition Ludovic Brenta
2006-03-18 13:36 ` Pascal Obry
2006-03-18 14:39 ` Ludovic Brenta
2006-03-18 16:32 ` Pascal Obry
2006-03-18 17:13 ` Ludovic Brenta
2006-03-18 19:10 ` Pascal Obry
2006-03-18 19:49 ` Georg Bauhaus
2006-03-18 21:16 ` Tapio Kelloniemi [this message]
2006-03-19 2:04 ` Library file locations (was: Debian Policy for Ada, Second Edition) Björn Persson
2006-03-19 7:48 ` Tapio Kelloniemi
2006-03-19 13:00 ` Björn Persson
2006-03-19 15:31 ` Pascal Obry
2006-03-19 16:48 ` Björn Persson
2006-03-19 20:21 ` Tapio Kelloniemi
2006-03-19 22:24 ` Ludovic Brenta
2006-03-20 9:07 ` Tapio Kelloniemi
2006-03-20 11:51 ` Ludovic Brenta
2006-03-21 20:11 ` Tapio Kelloniemi
2006-03-21 22:30 ` Library file locations Ludovic Brenta
2006-03-22 11:57 ` Library file locations (was: Debian Policy for Ada, Second Edition) Georg Bauhaus
2006-03-20 6:52 ` Pascal Obry
2006-03-20 9:10 ` Tapio Kelloniemi
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox