From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-0.9 required=3.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.5-pre1 Path: eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: =?UTF-8?Q?Bj=c3=b6rn_Lundin?= Newsgroups: comp.lang.ada Subject: Re: Suggestion about best practice with .gpr files Date: Fri, 4 Jun 2021 16:53:20 +0200 Organization: A noiseless patient Spider Message-ID: References: <861r9met5p.fsf@stephe-leake.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Fri, 4 Jun 2021 14:53:21 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="7762ef340fe9d43eede3e7edc12e5313"; logging-data="7796"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+A6G/WGkD5b4zRdCZrqJOT" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:78.0) Gecko/20100101 Thunderbird/78.10.2 Cancel-Lock: sha1:UoMGNLZhxzUpsj1SCip4t7ZXw7o= In-Reply-To: Content-Language: en-US Xref: reader02.eternal-september.org comp.lang.ada:62121 List-Id: Den 2021-06-04 kl. 14:52, skrev Simon Wright: > Björn Lundin writes: > >> So the whole system was built with korn-shell files stating > > I once did some work porting a Solaris system to Unix. They had migrated > to GNAT, but compilation was managed using a set of c-shell scripts > whose maintainer (one of the project managers told me) had made them his > life's work. Yeah - but in our case everybody hated them. Quite some of my colleges had worked on VAX/VMS and the DEC Ada compiler They say it had 'recompile *' which worked. This AIX port with Alsys did not. It had some kind of internal database to keep state of compiled files. And sometimes it locked up - and it was not fun to fiddle around to unlock it just to be able to compile. I MUCH prefer gnats file model - even if I know other here suggests a db is better. > > This would have been about 1999, so I had to use gnatmake, and I'm not > even sure whether project files existed, but it was _such_ an > improvement. > I ported our system around 2003 to gnat - first AIX then windows. And porting to other targets having the same compiler makes it so much easier. I do understand that maintainer. My tcl glue was really good (he says shamelessly) Taht means that it worked, and nobody needed to understand it. Or learn tcl - which in the long run was one reason to move to gpr-files. Sitting on a solution that nobody knows how to fix if it breaks is no fun. -- Björn