comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <rm.plus-bug.tsoh@maps.futureapps.de>
Subject: Re: Creating and using Ada packages: need refinement
Date: Sat, 15 Mar 2008 01:32:44 +0100
Date: 2008-03-15T01:32:43+01:00	[thread overview]
Message-ID: <1205541163.8209.16.camel@K72> (raw)
In-Reply-To: <frei5s$5m4$1@registered.motzarella.org>


On Sat, 2008-03-15 at 01:09 +0600, Ivan Levashew wrote:
> Hello!
> 
> My question is: how to create flexible Ada packages and what should they 
> look like?

You mean the source text? Package source text that needs
preprocessing to take this or that shape?

>  Enlist the make variables, for example. I'm not happy with 
> what I currently see. Ada packages are not easy to finetune.

Project files can evaluate environment variables.
See "external" in the project file documentation.

> Let's suppose that our project is rather complex. It contains both Ada 
> and C code and may be C++.
...
>  So the ./configure script should first look 
> for gnatgcc.

It might be a lot easier to configure configure to just
call gnatmake with the appropriate project file.






  reply	other threads:[~2008-03-15  0:32 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-14 19:09 Creating and using Ada packages: need refinement Ivan Levashew
2008-03-15  0:32 ` Georg Bauhaus [this message]
2008-03-15  2:50   ` Ivan Levashew
2008-03-15 17:10     ` Simon Wright
2008-03-15 18:26       ` Ivan Levashew
2008-03-15 22:55         ` Ludovic Brenta
2008-03-16  1:52           ` Ivan Levashew
2008-03-26  9:30           ` Ivan Levashew
2008-03-26 10:37             ` Ludovic Brenta
2008-03-26 15:43               ` Ivan Levashew
2008-03-26 20:30                 ` Ludovic Brenta
2008-03-28 12:00                   ` Ivan Levashew
2008-03-28 15:31                     ` Eric Hughes
2008-03-28 15:51                     ` Georg Bauhaus
2008-03-28 19:06                     ` Steve Whalen
2008-03-30 11:11                       ` Ivan Levashew
2008-03-31 19:04                         ` Steve Whalen
2008-03-26 10:44             ` Georg Bauhaus
2008-03-26 15:32               ` Ivan Levashew
2008-03-26 15:48                 ` Ivan Levashew
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox