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.195.165 with SMTP id if5mr2293817pbc.1.1337093854069; Tue, 15 May 2012 07:57:34 -0700 (PDT) Path: pr3ni1809pbb.0!nntp.google.com!news1.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 07:55:55 -0700 (PDT) Organization: http://groups.google.com Message-ID: <18407765.683.1337093755128.JavaMail.geo-discussion-forums@vbym15> References: <28695516.0.1336708147839.JavaMail.geo-discussion-forums@pbcqw9> NNTP-Posting-Host: 90.194.162.188 Mime-Version: 1.0 X-Trace: posting.google.com 1337093853 18465 127.0.0.1 (15 May 2012 14:57:33 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 15 May 2012 14:57:33 +0000 (UTC) In-Reply-To: <28695516.0.1336708147839.JavaMail.geo-discussion-forums@pbcqw9> 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-15T07:55:55-07:00 List-Id: Having spoken to you on IRC and email about this, I know what you are tryin= g to do. Here are your options: 1) Use an existing OS and build GNAT to target that for your hardware. 2) Use bare metal GNAT - which isn't easy. As for 1, you have a number of options: * RTEMS * MarteOS * Linux (built for embedded target) + UClibc + GNAT Each will require some work to target your hardware, as they will require d= rivers written to access the hardware - you would have to do this yourself = anyway for bare metal programming. Linux has been built for m68k machines, GNAT builds on Linux and would be t= rivial to add m68k for Linux, even though I remember having GNAT on an Amig= a for both Linux and AmigaOS years ago. If you went bare metal compiler, you would need to define what you needed i= n the runtime. Do you really need tasking? Do you really need full exceptio= n handling? If not, you can just have local exceptions which will call last= _chance_handler anytime something goes wrong, in that procedure, you can do= whatever you like, drop into remote gdb, dump the regs over serial, etc. Luke.