comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Gnatmake and Source Listings
Date: 1997/06/20
Date: 1997-06-20T00:00:00+00:00	[thread overview]
Message-ID: <dewar.866852762@merv> (raw)
In-Reply-To: 5oagp9$rh1$1@goanna.cs.rmit.edu.au


Richard says

<<If you have access to a UNIX box,
        cat -n foo.adb >foo.lst
will give you a "listing" with line numbers.
 >>

OK, if people are going to post such hokey answers, I will give the
proper answer here (although I really think that students (and others!)
should look this sort of thing up in the documentation :-)

use -gnatl, it gives exactly what you want, a listing with line numbers
(and interspersed error messages). It also gives the time stamp of the
source file (useful for grading purposes, put there in answer to a request
from one Michael Feldman :-0)





  reply	other threads:[~1997-06-20  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-06-18  0:00 Gnatmake and Source Listings Jaime W
1997-06-19  0:00 ` Richard A. O'Keefe
1997-06-20  0:00   ` Robert Dewar [this message]
1997-06-20  0:00 ` Robert Dewar
replies disabled

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