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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,cc3c5a58c46ea9c4 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.224.110.68 with SMTP id m4mr150198qap.2.1363651661113; Mon, 18 Mar 2013 17:07:41 -0700 (PDT) X-Received: by 10.49.132.70 with SMTP id os6mr2204qeb.4.1363651661086; Mon, 18 Mar 2013 17:07:41 -0700 (PDT) Path: k8ni188qas.0!nntp.google.com!dd2no2411836qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 18 Mar 2013 17:07:40 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=172.0.242.94; posting-account=-WG8VgoAAAAlWewKFi0J7zSTMYXZyyK3 NNTP-Posting-Host: 172.0.242.94 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <21ad4ef7-0e4a-40ba-ac3f-fe21018c7bd9@googlegroups.com> Subject: Re: Runtime startup code for the GNAT Runtime...and a bit of humble pie. From: Diogenes Injection-Date: Tue, 19 Mar 2013 00:07:41 +0000 Content-Type: text/plain; charset=ISO-8859-1 Date: 2013-03-18T17:07:40-07:00 List-Id: The more I google around the docs and forums, the more people I find asking this same set of questions... So maybe this should be just a general "Build your own Runtime thread". Since most of us can get it to work, we just don't seem to be able to do it well. And that really is the difference between a pro and an amatuer. The GNAT docs provide plenty of information to "get it working". But there aren't any primers devoted to this subject specifically. The most frequent questions I'm coming across are related to proper startup/shutdown code and people scratching their heads wondering just how much(or how little) of the standard runtime they should include in their runtime library. To be honest, getting it to work isn't all that difficult, until you try to get it working properly(like getting it to return a proper exit status to the host platform.) Thanks in advance.