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.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,85d7615faa3570d X-Google-Attributes: gid103376,public From: Ted Dennison Subject: Re: Bootable ... bindings? Date: 2000/11/08 Message-ID: <8ubs11$n1n$1@nnrp1.deja.com>#1/1 X-Deja-AN: 691228439 References: <8tu466$vgd$1@nnrp1.deja.com> <8tujkg$bl9$1@nnrp1.deja.com> <8uavt1$kv$1@nnrp1.deja.com> X-Http-Proxy: 1.0 x62.deja.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Wed Nov 08 15:38:10 2000 GMT X-MyDeja-Info: XMYDJUIDtedennison Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.7 [en] (WinNT; I) Date: 2000-11-08T00:00:00+00:00 List-Id: In article <8uavt1$kv$1@nnrp1.deja.com>, Sandro Binetti wrote: > In article <8tujkg$bl9$1@nnrp1.deja.com>, > Ted Dennison wrote: > > Hmmm. It sounds like you are suggesting that you'd like to run on an > > embedded platform w/o an OS at all, just Ada. > > OK! That's the case! I have to load in a PROM a boot sequence that Well, in that case what you want is an embedded Ada compiler that targets your CPU directly. There are several companies that make such compilers. Searching through the list of validated compilers at http://www.adaic.org/compilers/ada95.html would be a good place to start looking. Obviously you are likely to have better luck if you can be a bit flexible about what processor you are going to use. But in a pinch, there is also an Ada compiler from Aonix that targets C. I'm not sure it supports the real-time annex though. > > We have a rather > > complex real-time scheduler we use here on our GreenHills vxWorks > > systems which the developers commonly recompile using Gnat > > (different compiler) for NT. Ada is probably the *only* language you > > could realisticly write a source-code portable real-time scheduler > > in. > You mean that you can assemble a little, OS independent, task > scheduler based on the ADA run-time libraries? Whoa! I said it was "rather complex". I don't know if its "little" or not, but as there is often an inverse relation between the two, my money would be on "not". We are targetting a (non-windoze) PC, so size really hasn't been much of a concern. If you kept your needs simple (and within the easy capabilities of Ada's real-time annex), then I don't see why one couldn't make a small scheduler though. We had to do all sorts of fancy stuff like support task snapshots and task recording and playback. As for the rest though, yes. We made an OS independed real-time task scheduler based on the Ada run-time libraries. It recompiled and ran without a hitch on a different OS with a different vendor's compiler. (Well, to be honest I did have to comment out a call to set the real-time clock's iteration rate. Ada's real-time annex doesn't have that one. But that could have been done in the kernel anyway.) -- T.E.D. http://www.telepath.com/~dennison/Ted/TED.html Sent via Deja.com http://www.deja.com/ Before you buy.