comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <bauhaus@futureapps.de>
Subject: Re: Library file locations (was: Debian Policy for Ada, Second Edition)
Date: Wed, 22 Mar 2006 12:57:18 +0100
Date: 2006-03-22T12:57:08+01:00	[thread overview]
Message-ID: <44213b94$0$2581$9b4e6d93@newsread2.arcor-online.net> (raw)
In-Reply-To: <36ZTf.1851$ay4.142@reader1.news.jippii.net>

Tapio Kelloniemi wrote:


>  /usr/local should be supported automatically or at least easily.
> What comes to setting ADA_PROJECT_PATH in a Makefile:

As the name 'local' says (to me, at least), what is in /usr/local
should be treated as local. Hence a global compiler should not at
all have knowledge of, or be interest in, what is in /usr/local.

> Imagine that I have installed some Ada library under /usr/local (the distro 
> provides a precompiled binary, but I want to enable a feature X required by 
> package A). Then I compile A. If the library and the package A were written in 
> C, I would do the following to compile A:
> ./configure && make && make install
> 
> As they are written in Ada, I do:
> ./configure --with-additional-ada-project-path=/usr/local/share/ada/adainclude
> 
> And what if the configure script does not support the above mentioned option?

I do hope that use of configure etc is rare with Ada. Reason 1:
Ada itself has good configuration facilities. Reason 2: Make is pretty
good in steering them. Ada compilation systems tend to have project
compilation management programs. Reason 4: Unlike Ada, auto* is horribly
non-portable across OS toolsets, and has been shown to contribute to the
problem it is supposed to solve.


Georg 



  parent reply	other threads:[~2006-03-22 11:57 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
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                         ` Georg Bauhaus [this message]
2006-03-20  6:52                 ` Library file locations (was: Debian Policy for Ada, Second Edition) 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