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: ok@goanna.cs.rmit.edu.au (Richard A. O'Keefe) Subject: Re: Gnatmake and Source Listings Date: 1997/06/19 Message-ID: <5oagp9$rh1$1@goanna.cs.rmit.edu.au>#1/1 X-Deja-AN: 251047885 References: <33a768e5.4023853@news.netdoor.com> Organization: Comp Sci, RMIT University, Melbourne, Australia. Newsgroups: comp.lang.ada NNTP-Posting-User: ok Date: 1997-06-19T00:00:00+00:00 List-Id: munky@netdoor.com (Jaime W) writes: >I am using gnatmake to work on some of my programs for school at home. >One of the requirements is that I turn in a listing of my compiled >program. A listing being a line numbered listing of my source code. >I can get gnatmake to display the main source code, but none of the >subunit's code. Is there a way to do this? If you have access to a UNIX box, cat -n foo.adb >foo.lst will give you a "listing" with line numbers. Here we require electronic submission of the original source code; in the past I've known students edit a compiler listing to delete the error messages they couldn't fix any other way. -- Four policemen playing jazz on an up escalator in the railway station. Richard A. O'Keefe; http://www.cs.rmit.edu.au/%7Eok; RMIT Comp.Sci.