From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,15463ab759f5b40d X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: Gnatmake and Source Listings Date: 1997/06/20 Message-ID: #1/1 X-Deja-AN: 251465806 References: <33a768e5.4023853@news.netdoor.com> <5oagp9$rh1$1@goanna.cs.rmit.edu.au> Organization: New York University Newsgroups: comp.lang.ada Date: 1997-06-20T00:00:00+00:00 List-Id: Richard says <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)