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,59e0f5dd984379ed X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-01 07:30:30 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: RTL for GNAT? Date: 01 Oct 2002 10:19:49 -0400 Organization: NASA Goddard Space Flight Center (skates.gsfc.nasa.gov) Message-ID: References: NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1033482611 28810 128.183.220.71 (1 Oct 2002 14:30:11 GMT) X-Complaints-To: usenet@news.gsfc.nasa.gov NNTP-Posting-Date: 1 Oct 2002 14:30:11 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.ada:29443 Date: 2002-10-01T14:30:11+00:00 List-Id: "Per Jakobsen" writes: > Hi, > > First of all, I'm a newbie ;-) - So please bare with me if I ask for > something stupid. This is just a hard question, not a stupid one. > If exists, where can I find runtime libraries and/or howtos for > different targets for GNAT? I mean, libraries that makes it possible > to compile Ada programs to run on e.g. an Atmel ARM processor, > without having an entire operating system in between. One approach is to use 'pragma No_Run_Time' in gnat.adc. That places severe restrictions on your code; it assumes there is no operating system, so it forbids tasking, heap allocations, etc. If you can live with that, it is by far the easiest way to go. Beyond that, there are a few research projects that are writing GNAT-specific kernels, that provide the minimum needed for full Ada. See recent issues of Ada Letters at http://www.acm.org/sigada/ada_letters/index.html (seems to be down just now). Good luck! -- -- Stephe