From: Stephen Leake <stephen_leake@acm.org>
To: comp.lang.ada@ada-france.org
Subject: Re: GNAT and GNU build system
Date: 04 Aug 2004 18:11:27 -0400
Date: 2004-08-04T18:11:27-04:00 [thread overview]
Message-ID: <mailman.66.1091657496.416.comp.lang.ada@ada-france.org> (raw)
In-Reply-To: <873c32k5gu.fsf@insalien.org>
Ludovic Brenta <ludovic.brenta@insalien.org> writes:
> Tapio Kelloniemi writes:
> > I would really prefer typing:
> > ./configure --prefix=/usr --enable-goldobj
>
> I understand your concern completely. My concern, though, is the
> sheer complecity of the ./configure script itself, and that of the
> Makefile it generates. Most of that complexity is unnecessary with
> Ada programs, and in fact really gets in the way. With Ada, you would
> normally want to take full advantage of GNAT project files. The only
> places where ./configure may be of help are for the installation
> target (--prefix), and finding any Ada libraries you depend on.
This is true. So we need to start generating patches to auto* that
take advantage of Ada's simplicity. Not an easy task, but in the long
run it is the right solution.
Hmm. Maybe rewriting auto* in Ada first would be easier; I'm not
sure :).
> <plug mode=shameless>
>
> This problem is solved nicely in Debian GNU/Linux. Each library has a
> GNAT project file in a well-known location
> (/usr/share/ada/adalib/library.gpr). Your program just "withs" them
> as required.
That sounds good. But Ada still needs to cooperate with autoconf.
> Furthermore, on non-Debian systems, the GNU Ada Environment
> Specification[1] says where library files should be installed. Here
> again, you would not need a ./configure at all; just use -aI and -aO
> as necessary.
Only if you have a pure Ada project. I find this unlikely; I like
LaTeX or Texinfo for documentation, and I want my makefiles to run
test drivers.
> Since Debian follows the GNAE, your GNAT project file can be portable
> without the need for ./configure.
That's good.
--
-- Stephe
next prev parent reply other threads:[~2004-08-04 22:11 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-03 19:36 GNAT and GNU build system Tapio Kelloniemi
2004-08-03 20:12 ` Jerome Hugues
2004-08-04 2:05 ` Lutz Donnerhacke
2004-08-04 7:49 ` Tapio Kelloniemi
2004-08-04 13:33 ` Mark H Johnson
2004-08-04 16:04 ` Georg Bauhaus
2004-08-04 19:21 ` Ludovic Brenta
2004-08-04 20:29 ` Tapio Kelloniemi
2004-08-05 2:15 ` Georg Bauhaus
2004-08-06 10:26 ` Stephen Leake
2004-08-06 15:36 ` Georg Bauhaus
2004-08-14 6:00 ` Tapio Kelloniemi
2004-08-14 11:32 ` Ludovic Brenta
2004-08-14 14:41 ` Georg Bauhaus
2004-08-04 20:06 ` Tapio Kelloniemi
2004-08-04 20:34 ` Ludovic Brenta
2004-08-04 22:11 ` Stephen Leake [this message]
2004-08-05 8:50 ` Tapio Kelloniemi
2004-08-08 14:45 ` Ludovic Brenta
2004-08-10 16:18 ` Nick Roberts
2004-08-12 13:56 ` Florian Weimer
2004-08-13 15:52 ` Lutz Donnerhacke
2004-08-04 22:06 ` Stephen Leake
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox