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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,fb9cb88204b780c2 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!nlpi057.nbdc.sbc.com!prodigy.net!newsfeed-00.mathworks.com!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: simple programs -> one file with gps 2008 (gpl)? Date: Sun, 10 Aug 2008 18:25:33 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <6g3k63Fe28ukU1@mid.individual.net> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls4.std.com 1218407134 1896 192.74.137.71 (10 Aug 2008 22:25:34 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Sun, 10 Aug 2008 22:25:34 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:C5fw3puiN4BDt62b7ESYIM2yQZE= Xref: g2news1.google.com comp.lang.ada:1592 Date: 2008-08-10T18:25:33-04:00 List-Id: 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