From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,e36020a4e7d24836 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: How to leave .ali files in original library? References: <87zkp4uhjl.fsf@ludovic-brenta.org> Date: Fri, 11 Mar 2011 04:19:45 -0500 Message-ID: <82ipvqypxq.fsf@stephe-leake.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (windows-nt) Cancel-Lock: sha1:sI4SF001LrHMbMIzhW8rwxyY0DY= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 3d3164d79e903e029e66124452 Xref: g2news2.google.com comp.lang.ada:19050 Date: 2011-03-11T04:19:45-05:00 List-Id: "Randy Brukardt" writes: > "Ludovic Brenta" 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