comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: GNAT and register allocation
Date: Tue, 24 Apr 2012 08:24:02 -0400
Date: 2012-04-24T08:24:02-04:00	[thread overview]
Message-ID: <82lillgvx9.fsf@stephe-leake.org> (raw)
In-Reply-To: 4f9474d4$0$7611$9b4e6d93@newsspool1.arcor-online.net

Georg Bauhaus <rm.dash-bauhaus@futureapps.de> writes:

> On 22.04.12 19:39, Jacob Sparre Andersen wrote:
>> Georg Bauhaus wrote:
>>
>>>>> I must use one set of options for an entire program in this case.
>>
>>> This requirement is likely a fact (external) that we can't change.
>>
>> But aren't you adhering to the requirement, if you execute "gnatmake -P
>> some_project_file" to build the entire program?  Or is it mandated that
>> each child process of "gnatmake" should have the same build options?
>>
>> Do you know (and are you free to tell us) the rationale for the
>> requirement?
>
> It's nothing spectacular; the setup of a many languages project
> (nothing critical, but possibly reputational ;-) is currently such
> that its central circuits invoke translators with options.
> That is, no configuration files or anything.  One reason for this
> restriction is---I am just guessing here---that the makers of the
> setup have enough work to do and would not want to tackle yet another
> configuration language. Also, the use of configuration files is
> less transparent to users of other languages than just switches;
> they make things more understandable and more comparable.

I think (well-written) gpr files are _much_ more understandable than
comparable makefiles for C!

Tell them the .gpr is just another source file, that _you_ maintain; why
should they care? Other source files are named on command lines for
other translators.

> And this kind of control works with pretty much every language

And you can do anything in assembler.

-- 
-- Stephe



  reply	other threads:[~2012-04-24 12:23 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-20 10:21 GNAT and register allocation Georg Bauhaus
2012-04-20 11:17 ` Georg Bauhaus
2012-04-20 13:48   ` Markus Schöpflin
2012-04-20 15:34     ` Georg Bauhaus
2012-04-21 12:10       ` Stephen Leake
2012-04-22 16:43         ` Georg Bauhaus
2012-04-22 17:39           ` Jacob Sparre Andersen
2012-04-22 21:14             ` Georg Bauhaus
2012-04-24 12:24               ` Stephen Leake [this message]
2012-04-24 13:27                 ` Georg Bauhaus
2012-04-24 18:40                   ` "gnatchop" and ".gpr" files? (Was: GNAT and register allocation) Jacob Sparre Andersen
2012-04-25 11:51                   ` GNAT and register allocation Stephen Leake
2012-04-25 12:54                     ` Georg Bauhaus
2012-04-26 10:55                       ` Stephen Leake
2012-04-26 17:15                         ` Georg Bauhaus
2012-04-24 12:21           ` Stephen Leake
2012-04-22 17:30         ` Georg Bauhaus
2012-04-21 15:41       ` Florian Weimer
2012-04-22 16:53         ` Georg Bauhaus
2012-04-22 20:53           ` gautier_niouzes
2012-04-22 21:24             ` Georg Bauhaus
2012-04-23  8:43               ` gautier_niouzes
2012-04-23 16:46                 ` Georg Bauhaus
2012-04-23  9:11               ` gautier_niouzes
2012-04-23 16:47                 ` Georg Bauhaus
replies disabled

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