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: 115aec,e3ee290dec815dec X-Google-Attributes: gid115aec,public X-Google-Thread: 103376,277ad5c6c4fb9545,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-05-25 11:55:29 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!feed.textport.net!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.realtime,comp.lang.ada From: Simon Clubley References: <3B0D7877.4AE1FBCC@gsde.hou.us.ray.com> Subject: Using GNAT in Linux kernel modules, was: Re: Free RTOS with support for Ada ? Message-ID: <1UxP6.158$rn5.2018@www.newsranger.com> X-Abuse-Info: When contacting newsranger.com regarding abuse please X-Abuse-Info: forward the entire news article including headers or X-Abuse-Info: else we will not be able to process your request X-Complaints-To: abuse@newsranger.com NNTP-Posting-Date: Fri, 25 May 2001 14:54:53 EDT Organization: http://www.newsranger.com Date: Fri, 25 May 2001 18:54:53 GMT Xref: archiver1.google.com comp.realtime:2649 comp.lang.ada:7774 Date: 2001-05-25T18:54:53+00:00 List-Id: [Crossposted to comp.lang.ada and comp.realtime] On Thu, 24 May 2001 16:09:11 -0500, in article <3B0D7877.4AE1FBCC@gsde.hou.us.ray.com>, Stanley R. Allen wrote: > >Simon Clubley wrote: >> >> Does anybody know of a free RTOS with support for programming in Ada ? >> > >I suppose you could use one of the real-time linuxes in conjunction >with the GNU Ada compiler (GNAT). > >Anyway, that's the plan for our real-time Ada project. > >-- >Stanley Allen >mailto:Stanley_R_Allen-NR@raytheon.com I had looked at RTlinux, and noted that the implementation was via Linux kernel modules. I was also aware (from the Ada Linux Programming book from www.adapower.com) that you need to use a pragma to disable the Ada runtime when doing Linux kernel modules. However, this book does not cover kernel programming in any detail and the GNAT reference manual just refers you to the GNORT documentation, which does not appear to be publically available, so I had dismissed this as an option. However, since this option is mentioned above, I wonder if I have missed something. Has anybody successfully implemented a Linux/RTlinux kernel module in Ada using just the public GNAT and freely available documentation and what problems did you have ? Thanks for any answers. Simon. -- Simon Clubley, simon_clubley@remove_me.excite.com-Earth.UFP Worrying idea #101: What if Microsoft goes into the Ada compiler business ?