comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: How to leave .ali files in original library?
Date: Fri, 11 Mar 2011 16:07:29 +0100
Date: 2011-03-11T16:07:24+01:00	[thread overview]
Message-ID: <1j528pbtwh3jw$.1jqmz5gdvxxab$.dlg@40tude.net> (raw)
In-Reply-To: df7b99d9-74e6-4e1a-bd1a-2cbc8faf7367@q14g2000vbf.googlegroups.com

On Fri, 11 Mar 2011 01:16:21 -0800 (PST), Ludovic Brenta wrote:

> localhost@example.org wrote on comp.lang.ada:
>>> I can't speak for the OP, but the obvious reason is that they cause
>>> vendor> lock-in. If any significant amount of your project's functionality
>>> is tied up in .GPR files, then that functionality is not portable to
>>> another Ada compiler. (.GPR files are not Ada!).
>>
>> Of course you're right but I'm only writing very small apps trying to learn
>> Ada at this point. But in principle my objection is what you said and that's
>> why I said I try not to learn non-transferrable bits because it's a waste of
>> time in my opinion.
> 
> But the command-line switches of GCC and your Makefiles tailored for
> GCC are also non-transferable.  Other people have mentioned the
> proprietary build systems of Rational Apex and Janus/Ada; ObjectAda
> also has a different one.  So, your argument is valid in theory but
> moot in practice because it applies equally to all Ada toolchains and
> is not a differentiator.

Actually we could make one step forward and define a
compiler/linker/environment abstraction of an Ada project in ARM. That
would make the gpr file (or, better, an Ada program managing the project)
independent on the target. E.g. instead of "-g", we would write
Project.Debug_Information := True;

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  reply	other threads:[~2011-03-11 15:07 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-09 18:00 How to leave .ali files in original library? localhost
2011-03-09 18:53 ` Jeffrey Carter
2011-03-09 18:56   ` localhost
2011-03-09 19:17   ` localhost
2011-03-10 17:10   ` Robert Matthews
2011-03-10 17:42     ` localhost
2011-03-09 21:10 ` Ludovic Brenta
2011-03-10  6:10   ` localhost
2011-03-10  6:36     ` Simon Wright
2011-03-10  6:46       ` localhost
2011-03-10  9:23         ` Ludovic Brenta
2011-03-10  9:36           ` localhost
2011-03-10 18:42             ` Per Sandberg
2011-03-10 21:06               ` Simon Wright
2011-03-11  9:12               ` Emacs vs GPS vs Eclipse, Ada vs Lisp vs Lua vs Java Stephen Leake
2011-03-11 11:59                 ` Peter C. Chapin
2011-03-11 14:59                 ` Dmitry A. Kazakov
2011-03-12 12:53                   ` Stephen Leake
2011-03-12 15:23                     ` Dmitry A. Kazakov
2011-03-13 15:17                       ` Stephen Leake
2011-03-13 16:20                         ` Dmitry A. Kazakov
2011-03-14 12:07                           ` Stephen Leake
2011-03-14 13:54                             ` Dmitry A. Kazakov
2011-03-11  8:41             ` How to leave .ali files in original library? Stephen Leake
2011-03-11  8:59               ` localhost
2011-03-12 12:36                 ` Stephen Leake
2011-03-10 21:23           ` Randy Brukardt
2011-03-11  6:05             ` AdaMagica
2011-03-11  6:44               ` Per Sandberg
2011-03-11  9:26                 ` Cyrille
2011-03-11 10:09                   ` Cyrille
2011-03-11  9:02             ` localhost
2011-03-11  9:16               ` Ludovic Brenta
2011-03-11 15:07                 ` Dmitry A. Kazakov [this message]
2011-03-12 12:37                 ` Stephen Leake
2011-03-11  9:19             ` 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