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: 103376,8295d69277f1696c X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.223.40 with SMTP id qr8mr2430544pbc.0.1337096465555; Tue, 15 May 2012 08:41:05 -0700 (PDT) Path: pr3ni1924pbb.0!nntp.google.com!news2.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Lucretia Newsgroups: comp.lang.ada Subject: Re: understanding runtime support Date: Tue, 15 May 2012 08:41:05 -0700 (PDT) Organization: http://groups.google.com Message-ID: <409601.181.1337096465047.JavaMail.geo-discussion-forums@vbx14> References: <28695516.0.1336708147839.JavaMail.geo-discussion-forums@pbcqw9> <28843126.1576.1336884548623.JavaMail.geo-discussion-forums@ynff7> <31100317.2013.1336922789420.JavaMail.geo-discussion-forums@ynmb39> <7948724.2.1336983886678.JavaMail.geo-discussion-forums@yneo6> <32791890.97.1336995087800.JavaMail.geo-discussion-forums@yneo6> <8547012.586.1337020482714.JavaMail.geo-discussion-forums@ynlq12> <28034736.36.1337025896359.JavaMail.geo-discussion-forums@ynll26> <10099625.0.1337029342748.JavaMail.geo-discussion-forums@yneh4> <47497.3024.1337095350241.JavaMail.geo-discussion-forums@ynmk20> NNTP-Posting-Host: 90.194.162.188 Mime-Version: 1.0 X-Trace: posting.google.com 1337096465 13754 127.0.0.1 (15 May 2012 15:41:05 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 15 May 2012 15:41:05 +0000 (UTC) In-Reply-To: <47497.3024.1337095350241.JavaMail.geo-discussion-forums@ynmk20> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=90.194.162.188; posting-account=L2-UcQkAAAAfd_BqbeNHs3XeM0jTXloS User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-05-15T08:41:05-07:00 List-Id: > Only a very few dedicated souls will read through existing source to figu= re out a way to port that source, but if a cookbook existed, similar to the= doc for an RTOS that tells what each stub subprogram must be coded to prov= ide, and defines each required data object, I suspect Ada would suddenly st= art appearing on a lot more varied hardware, and start getting noticed by a= lot more people. And that would be a Very Good Thing IMO. I agree. So, you start with system.ads, You start by defining it's number types, sto= rage types and memory types. Look at the private section of the file, it ha= s some parameters you set telling you that the docs are in targparm.ads - w= hich they are. If you don't need anything else, that's it. If you need more= runtime, you have to look further into the source. If you need to return unconstrained types, like String, then you can create= your own secondary stack package, look at s-secsta.ad[sb] and use that or = modify it or create your own. You will need to look at the binder at this p= oint as the binder can change the size of the secondary stack. Luke.