comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: simple programs -> one file with gps 2008 (gpl)?
Date: Sun, 10 Aug 2008 18:25:33 -0400
Date: 2008-08-10T18:25:33-04:00	[thread overview]
Message-ID: <wccod40ecde.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: d14881b6-f28f-48b4-a45d-3c1c0a0676c2@c58g2000hsc.googlegroups.com

amado.alves@gmail.com writes:

> Like others have said (and yet others seem to ignore) a tool Gnatchop
> exists that generates the files from an Ada text (usually from an .ada
> file) Eventually you use this tool to start development from an Ada
> text. But normally you only do this once at the start of development,
> because compiler messages will point to the 'new' files, so it's more
> convenient to edit them instead of the old,...

The -r switch to gnatchop causes error messages to refer to the original
pre-chopped file.  The -w and -p switches are also quite useful -- look
at the docs.

I agree that GNAT's bias toward one-comp-unit-per-file is an annoying
feature.  A minor annoyance at most, since that's usually what you want
anyway.

- Bob



  reply	other threads:[~2008-08-10 22:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-08 19:12 simple programs -> one file with gps 2008 (gpl)? Marcus Lauster
2008-08-08 20:25 ` Jeffrey R. Carter
2008-08-08 20:54   ` [Solved] " Marcus Lauster
2008-08-08 21:29   ` Ed Falis
2008-08-11  8:44   ` Lucretia
2008-08-08 22:44 ` amado.alves
2008-08-10 22:25   ` Robert A Duff [this message]
2008-08-12 10:21     ` amado.alves
2008-08-12 17:03       ` Simon Wright
2008-08-13 12:45         ` 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