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=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.182.108.136 with SMTP id hk8mr3448563obb.11.1392393343982; Fri, 14 Feb 2014 07:55:43 -0800 (PST) X-Received: by 10.50.164.163 with SMTP id yr3mr62777igb.3.1392393343885; Fri, 14 Feb 2014 07:55:43 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!uq10no20519790igb.0!news-out.google.com!rw17ni2igc.0!nntp.google.com!uq10no20519777igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 14 Feb 2014 07:55:42 -0800 (PST) In-Reply-To: <1547661175414018961.417057laguest-archeia.com@nntp.aioe.org> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=189.77.226.1; posting-account=TRgI1QoAAABSsYi-ox3Pi6N-JEKKU0cu NNTP-Posting-Host: 189.77.226.1 References: <44f053fc-72a9-44f0-8a0d-c919632d57e8@googlegroups.com> <%r2Lu.9395$yo1.4292@fx26.fr7> <1547661175414018961.417057laguest-archeia.com@nntp.aioe.org> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <65d6f3a8-982f-43f4-a722-e7e3ef7212c5@googlegroups.com> Subject: Re: Tiva + Ada From: "Rego, P." Injection-Date: Fri, 14 Feb 2014 15:55:43 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:18561 Date: 2014-02-14T07:55:42-08:00 List-Id: On Thursday, February 13, 2014 6:23:49 PM UTC-3, Luke A. Guest wrote: > I asked which is you were on because if you were on 64 bit linux I could > easily package up the latest compiler, I.e 4.9.0 But no problem in using Linux 64bit, so I can use a virtual machine. > The patch in tamp doesn't apply cleanly anymore. I have a patched GCC which > allows me, with a bit of fiddling, to build a cross compiler with gnattools > without rts. ok > You can use any prebuilt compiler eg arm-Linux and just redirect it using > the --RTS flag. > As for getting some niceties of the rts on bare metal, it works the same > for all platforms, start with a system.ads and the basic packages providing > compiler intrinsics, then you can add last_chance_handler for local > exceptions, then memset. Etc, etc which allows you to copy objects about. > If you want to return in constrained objects you need to add a simple > secondary stack, this can be say 4-8kb allocated in the linker script and > referenced in the secsta.adb. > If you want more then you just enable it in the restrictions pragma use it > and wait for the compiler to tell you what's missing. I think it will be clearer to me when I start building it.