comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <rm-host.bauhaus@maps.arcor.de>
Subject: Re: Specifying a target in a GPRBuild project file?
Date: 27 Apr 2013 18:30:00 GMT
Date: 2013-04-27T20:30:00+02:00	[thread overview]
Message-ID: <989258155388777873.634822rm-host.bauhaus-maps.arcor.de@news.arcor.de> (raw)
In-Reply-To: op.wv7lekr2ule2fv@cardamome

Yannick Duchêne (Hibou57 ) <yannick_duchene@yahoo.fr> wrote:

>> Just imagine some portable combined Ada/C++ program source text that has
>> become the subject of GPRbuild (alternatively, to whatever Atego's
>> Rational thing does, etc). Will porting the Ada/C++ program still be
>> both practical and cost efficient in the presence of having to port
>> one proprietary (open-source) configuration text to another proprietary
>> (maybe-not-open-source) configuration text?
> 
> In this case, just use a classic Makefile and describe in a README file, 
> what may have to be tweaked in it (compiler paths, names, options, etc).

Makefiles do not solve the recurring problem of configuring sets of tools:
When a source text of a mixed Ada and C++ program is perfectly
portable, why is it necessary to have elaborate but incompatible *tool*
configuration texts? Suppose you have successfully tested the
program with the front ends of GCC on some platform. You are now
moving towards a combination of non-GNAT and non-G++ compilers and
tools. As a consequence, you will be spending time and money on 
expressing the very same ideas once more, this time using different
tool configuration languages.

The only profit from having worked on a Makefile or GPR project file is
to have thought about it. If someone knows non-GCC configuration well,
but does not know GCC's configuration mini-languages, he or she will
learn very little from either. Note that he or she does not need to learn
the
subject of configuring tools, they know that. But the lack of a common
configuration language forces them to learn yet another vendor's language
for expressing common ideas.

Doesn't this sound familiar? Expressing formal things in many incompatible
vendor languages?

>> Who is financing this misguided use of brain power that creates
>> monstrosities of configuration to live in a costly zoo?
> 
> There is nothing monstrous with it, it just fix compilers paths and  
> options, and default project files attributes and variables. 

Try porting one so that it can be used from within a very different
toolset for the same purpose.



  reply	other threads:[~2013-04-27 18:30 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-23  7:46 Specifying a target in a GPRBuild project file? Yannick Duchêne (Hibou57)
2013-04-23  8:09 ` Yannick Duchêne (Hibou57)
2013-04-23 11:37   ` Yannick Duchêne (Hibou57)
2013-04-23 14:04     ` Yannick Duchêne (Hibou57)
2013-04-23 15:17       ` Yannick Duchêne (Hibou57)
2013-04-23 19:14         ` sbelmont700
2013-04-25  9:01           ` Yannick Duchêne (Hibou57)
2013-04-25 16:57             ` Pascal Obry
2013-04-25 19:02               ` Dmitry A. Kazakov
2013-04-26 16:09                 ` Pascal Obry
2013-04-26 17:51                   ` Yannick Duchêne (Hibou57)
2013-04-26 18:32                   ` Dmitry A. Kazakov
2013-04-26 18:52                     ` Pascal Obry
2013-04-27  6:05                       ` Dmitry A. Kazakov
2013-04-27  8:37                         ` Yannick Duchêne (Hibou57)
2013-04-27  8:48                           ` Dmitry A. Kazakov
2013-04-27 13:32                             ` Georg Bauhaus
2013-04-27 16:57                               ` Yannick Duchêne (Hibou57)
2013-04-27 18:30                                 ` Georg Bauhaus [this message]
2013-04-27 21:20                                   ` Yannick Duchêne (Hibou57)
2013-04-28  6:47                                     ` Gour
2013-04-28  8:11                                       ` Dmitry A. Kazakov
2013-04-28 12:56                                         ` Gour
2013-04-28 14:52                                           ` Dmitry A. Kazakov
2013-04-28 16:03                                             ` Simon Wright
2013-04-28 19:09                                             ` Gour
2013-04-28  7:21                                     ` Simon Wright
2013-04-27 19:34                                 ` Simon Wright
2013-04-26 19:09                     ` sbelmont700
2013-04-27  6:17                       ` Dmitry A. Kazakov
2013-04-27  7:45                         ` Pascal Obry
2013-04-27  8:36                           ` Dmitry A. Kazakov
2013-04-27  8:43                         ` Yannick Duchêne (Hibou57)
2013-04-26 19:31                     ` Yannick Duchêne (Hibou57)
2013-04-27  7:45                       ` Pascal Obry
2013-04-26  9:54               ` Stephen Leake
2013-04-26 17:41                 ` Yannick Duchêne (Hibou57)
2013-04-28  2:09                   ` Stephen Leake
2013-04-25 21:00             ` sbelmont700
replies disabled

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