comp.lang.ada
 help / color / mirror / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: Debian Policy for Ada, Second Edition
Date: Sat, 18 Mar 2006 18:13:49 +0100
Date: 2006-03-18T18:13:49+01:00	[thread overview]
Message-ID: <87acbnad6a.fsf@ludovic-brenta.org> (raw)
In-Reply-To: 441C3610.9000902@obry.net

Pascal Obry <pascal@obry.net> writes:
> Ludovic Brenta a écrit :
>
>> I am not aware of a GNAT default.  What is the default? And why does
>> it not follow the GNAE?
>
> To be able to install a compiler in its own directory and to be able to
> have multiple compilers installed at the same time.
>
> 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>
>   /share/doc/<project> <- documentation
>   /share/gps/plug-ins  <- .xml for GPS customization (doc, tools)
>
>
>> Maybe symlinks can come to the rescue to provide interoperability.
>
> That will be lot of them and you won't be able to support multiple
> compilers. But maybe this is not a requirement for Debian.

Indeed, the policy states clearly that exactly one compiler is
supported in Debian, so that all packages are ABI compatible.

The default project path is a new feature of GNAT that I was unaware
of; thanks for pointing it out to me.

I see that I can change the default by patching
src/gcc/ada/Make-lang.in, which generates build/gcc/ada/sdefault.adb.
I think I'll do that, thus making the symlinks unnecessary, and
allowing GNAT to find all libraries' project files automatically.

Objections?

-- 
Ludovic Brenta.



  reply	other threads:[~2006-03-18 17:13 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 [this message]
2006-03-18 19:10         ` Pascal Obry
2006-03-18 19:49           ` Georg Bauhaus
2006-03-18 21:16       ` Tapio Kelloniemi
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