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,ed7c87f55ef3e9e8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-01-27 04:38:03 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!irazu.switch.ch!switch.ch!news.rediris.es!news.uv.es!news.upv.es!not-for-mail From: Jorge Real Newsgroups: comp.lang.ada Subject: Re: GLADE, Linux Kernel Modules etc, Date: Tue, 27 Jan 2004 13:23:57 +0100 Organization: DISCA-UPV Message-ID: References: NNTP-Posting-Host: tardor.disca.upv.es Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: polaris.cc.upv.es 1075206005 9225 158.42.53.2 (27 Jan 2004 12:20:05 GMT) X-Complaints-To: newsmaster@upv.es NNTP-Posting-Date: 27 Jan 2004 12:20:05 GMT User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en In-Reply-To: Xref: archiver1.google.com comp.lang.ada:4899 Date: 2004-01-27T12:20:05+00:00 List-Id: For the first part of your post, sk wrote: > Hi, > > I have been playing with Linux kernel modules and GNAT 3.15p. > > I have acheived (as in loading a GNAT built lkm and have it > say "Hi") in two ways: > > 1) With a C wrapper to call the Ada written module init and cleanup > 2) Totally native Ada init and cleanup (and a cocktail of pragma's > and command-line arguments). > > Does anyone in cla world have experience with GNAT and LKM's > and have some insights they would care to share ? > You can visit http://rtportal.upv.es/ to download RTLGnat. It is a porting of the gnat compiler for RTLinux. Your Ada program is compiled into a LKM, but take into account that you need to have the RTLinux modules loaded first. Cheers, Jorge Real.