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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,57ca86d2263c2ca9 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-01-30 09:27:45 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Gnat: system__finalization_implementation__finalize_list Date: 30 Jan 2003 12:08:27 -0500 Organization: NASA Goddard Space Flight Center (skates.gsfc.nasa.gov) Message-ID: References: <3e379038$0$350$bed64819@news.gradwell.net> <3e38bbbc$0$346$bed64819@news.gradwell.net> NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1043947303 29704 128.183.235.92 (30 Jan 2003 17:21:43 GMT) X-Complaints-To: usenet@news.gsfc.nasa.gov NNTP-Posting-Date: 30 Jan 2003 17:21:43 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.ada:33604 Date: 2003-01-30T17:21:43+00:00 List-Id: porton@ex-code.com (Victor Porton) writes: > (1) I compiled my program whose effectively main rountine is not a > procedure but a begin...end block of a package specifically designed to > be used as the main rountine. It is perfectly legal accordingly ARM I could not find the reference that supports this; can you quote it? > (however not recommended by the style guide which I not obliged to > follow). > > (2) I executed a properly linked executable with no library level > procedures. It is legal. > > It is Gnat whose manual I have read, Please give chapter; I didn't think you could do this. > and theoretically should work correctly. I don't see how it can arrange to call 'adainit' and 'adafinal' in this case. That is probably your problem. Try it with a normal 'main procedure', just for kicks. -- -- Stephe