comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: How to compile Barnes' examples from his book using GNAT
Date: Mon, 07 Dec 2015 14:21:45 +0000
Date: 2015-12-07T14:21:45+00:00	[thread overview]
Message-ID: <ly610agwzq.fsf@pushface.org> (raw)
In-Reply-To: 5ba1035b-7ffa-4ea8-b9cd-fde589b99904@googlegroups.com

Jerry <lanceboyle@qwest.net> writes:

> Is there a preferred way that GNAT users handle this? Do they make
> multiple package specs and bodies in one file then let gnatchop handle
> it, possibly hiding the mess in another directory, or is it preferred
> to write the many separate spec and body files from the start?

If I'm making a brief example, or trying to build someone else's
problematic code, I'd put the whole lot in a file
<problem>.ada. Otherwise, specs/bodies/separates all in files of their
own.

      parent reply	other threads:[~2015-12-07 14:21 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-06 10:49 How to compile Barnes' examples from his book using GNAT Jerry
2015-12-06 11:24 ` Brian Drummond
2015-12-06 18:17   ` Jeffrey R. Carter
2015-12-06 21:21     ` Pascal Obry
2015-12-06 22:33       ` Jeffrey R. Carter
2015-12-08  2:01         ` Randy Brukardt
2015-12-07  9:01   ` Jerry
2015-12-07  9:36     ` Jacob Sparre Andersen
2015-12-10  3:26       ` Jerry
2015-12-10  8:55         ` J-P. Rosen
2015-12-10 12:34           ` G.B.
2015-12-07 14:21     ` Simon Wright [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