comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: How to leave .ali files in original library?
Date: Fri, 11 Mar 2011 04:19:45 -0500
Date: 2011-03-11T04:19:45-05:00	[thread overview]
Message-ID: <82ipvqypxq.fsf@stephe-leake.org> (raw)
In-Reply-To: ilbfgo$hto$1@munin.nbi.dk

"Randy Brukardt" <randy@rrsoftware.com> writes:

> "Ludovic Brenta" <ludovic@ludovic-brenta.org> wrote in message 
> news:eebf3b04-6c56-4192-a0e9-958ac126e428@l2g2000prg.googlegroups.com...
>> localhost@example.org wrote on comp.lang.ada:
>>> Thanks...I would like to avoid using project files
>>
>> Why?
>
> 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!).

Technically, .gpr files are not tied to the GNAT compiler. You can
customize the gpr language to run other tools, in particular other Ada
compilers.

I use gpr files to run auto_text_io, for example. qtada uses it to run
amoc, a GUI preprocessor.

> That said, you practically will have to use some tool to get at least some 
> of that functionality for every Ada system -- but clearly the less you 
> depend on it the easier porting will be. (Complex project structures in 
> Janus/Ada aren't portable anywhere else, either.)

And using the vendor-provided project tool may be easier than adapting
gpr to the vendor compiler. But it is a tradeoff, not an absolute
impossibility. If you have experience adapting gpr, and don't yet know
the vendor tool, the tradeoff could favor using gpr instead of the
vendor tool.

gpr files are the best project tool I've seen. But I have not seen many.

-- 
-- Stephe



      parent reply	other threads:[~2011-03-11  9:19 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
2011-03-12 12:37                 ` Stephen Leake
2011-03-11  9:19             ` Stephen Leake [this message]
replies disabled

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