comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <rm.dash-bauhaus@futureapps.de>
Subject: Re: GNAT and register allocation
Date: Tue, 24 Apr 2012 15:27:43 +0200
Date: 2012-04-24T15:27:44+02:00	[thread overview]
Message-ID: <4f96aa50$0$7617$9b4e6d93@newsspool1.arcor-online.net> (raw)
In-Reply-To: <82lillgvx9.fsf@stephe-leake.org>

On 24.04.12 14:24, Stephen Leake wrote:

> I think (well-written) gpr files are _much_ more understandable than
> comparable makefiles for C!

Yes, GNAT project files are understandable, though non-portable TTBOMK.
(I find its idiolect a little inconsistent WRT to plurals and lists.)

Gpr files will likely not be used by those who code for Intel's
Fortran compiler, or the C part of GCC; they can easily specify
IFCOPTS or GCCOPTS referenced in Makefiles.

The Makefile for all C programs, or C++ programs, and a number of other
languages currently looks simlar to this:

%.c : %.systematic-name
	mv $< $@

%.executable : %.c
	$(CC) -pipe -Wall $(COPTS) $(GCCOPTS) $< -o $@

So the source text can be all in one file, the translation is kept simple.
GNAT also gets only two lines, one for gnatchop, the other for gnatmake.



  reply	other threads:[~2012-04-24 13:27 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-20 10:21 GNAT and register allocation Georg Bauhaus
2012-04-20 11:17 ` Georg Bauhaus
2012-04-20 13:48   ` Markus Schöpflin
2012-04-20 15:34     ` Georg Bauhaus
2012-04-21 12:10       ` Stephen Leake
2012-04-22 16:43         ` Georg Bauhaus
2012-04-22 17:39           ` Jacob Sparre Andersen
2012-04-22 21:14             ` Georg Bauhaus
2012-04-24 12:24               ` Stephen Leake
2012-04-24 13:27                 ` Georg Bauhaus [this message]
2012-04-24 18:40                   ` "gnatchop" and ".gpr" files? (Was: GNAT and register allocation) Jacob Sparre Andersen
2012-04-25 11:51                   ` GNAT and register allocation Stephen Leake
2012-04-25 12:54                     ` Georg Bauhaus
2012-04-26 10:55                       ` Stephen Leake
2012-04-26 17:15                         ` Georg Bauhaus
2012-04-24 12:21           ` Stephen Leake
2012-04-22 17:30         ` Georg Bauhaus
2012-04-21 15:41       ` Florian Weimer
2012-04-22 16:53         ` Georg Bauhaus
2012-04-22 20:53           ` gautier_niouzes
2012-04-22 21:24             ` Georg Bauhaus
2012-04-23  8:43               ` gautier_niouzes
2012-04-23 16:46                 ` Georg Bauhaus
2012-04-23  9:11               ` gautier_niouzes
2012-04-23 16:47                 ` Georg Bauhaus
replies disabled

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