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-Thread: 103376,d69cf57549de1425 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!b38g2000prf.googlegroups.com!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.lang.ada Subject: Re: Linux device drivers in Ada? Date: Tue, 13 Jan 2009 05:21:25 -0800 (PST) Organization: http://groups.google.com Message-ID: <2c7beee7-fb28-4b24-8d00-5ad5fea4a27e@b38g2000prf.googlegroups.com> References: NNTP-Posting-Host: 79.138.249.16 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1231852885 2275 127.0.0.1 (13 Jan 2009 13:21:25 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 13 Jan 2009 13:21:25 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: b38g2000prf.googlegroups.com; posting-host=79.138.249.16; posting-account=UqUC7goAAAAaIopcWPSUmIYxkLwIeB6X User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.4) Gecko Galeon/2.0.6 (Debian 2.0.6-2+b1),gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:4233 Date: 2009-01-13T05:21:25-08:00 List-Id: Brian Drummond wrote: > Possibly a long shot, but does anyone know of any example Linux device > drivers written in Ada? Is it even possible for Linux? It is definitely possible. The primitive way to do it is to compile it using GNAT and Pragma (No_Runtime). I think I've read a description of a more elegant solution. You might also want to take a look at RTL-GNAT (see ). Greetings, Jacob -- A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon?