comp.lang.ada
 help / color / mirror / Atom feed
From: Per Sandberg <per.sandberg@bredband.net>
Subject: Re: How to leave .ali files in original library?
Date: Fri, 11 Mar 2011 07:44:15 +0100
Date: 2011-03-11T07:44:15+01:00	[thread overview]
Message-ID: <4xjep.165303$qA1.60752@newsfe08.ams2> (raw)
In-Reply-To: <f2613bb8-b6cc-48c4-a60e-64797ae6a6a8@hd10g2000vbb.googlegroups.com>



On 03/11/2011 07:05 AM, AdaMagica wrote:
> On 10 Mrz., 22:23, "Randy Brukardt"<ra...@rrsoftware.com>  wrote:
>> "Ludovic Brenta"<ludo...@ludovic-brenta.org>  wrote in message
>>
>> news:eebf3b04-6c56-4192-a0e9-958ac126e428@l2g2000prg.googlegroups.com...
>>
>>> localh...@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!).
>>
>> 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.)
>>
>>                                   Randy.
>
> And on APEX, you have subsystems; this structure is also not portable.
> I used a GNAT project file per APEX subsystem when porting. So for big
> projects, you're always bound to the vendor with the structure of your
> Ada sources. The idea of a standard APSE or KAPSE died long ago.

Well during the years I have made transmissions:
Rational-Delta ->
   Rational-APEX ->
     Object-Ada ->
       GNAT-(emacs-adamode) ->
       GNAT-(.gpr-projects)

Large SourceTree with messy project structure and no documented 
dependencies 2MSloc 300 Komponents ->
   GNAT-(.gpr-projects)

In the first case the project files where just some intelligent 
transformation, in the second case the project files revealed the true 
dependency graph between the components.
Since project files has well defined syntax and semantics they could 
always be transformed.

I would not be surprised if its is possible to use the GNAT build system 
as driver for the JanusAda compiler as well.

/Per



  reply	other threads:[~2011-03-11  6:44 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 [this message]
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
replies disabled

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