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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: border2.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Ada for the next bare metal project? Date: Mon, 16 Feb 2015 18:37:34 +0100 Organization: cbb software GmbH Message-ID: <192t899mievu8.nsotbv4bworr$.dlg@40tude.net> References: <638970c3-df56-4ab0-a5ff-19277814d435@googlegroups.com> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: w2sqUGEBZqsVBYNL7Ky3Kg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: number.nntp.giganews.com comp.lang.ada:192278 Date: 2015-02-16T18:37:34+01:00 List-Id: On Mon, 16 Feb 2015 08:40:43 -0800 (PST), droiddermo@gmail.com wrote: > I'm going to implement a new project, that needs to run > without operating system on bare metal x86 and x64 processors. How could it "need" this? It is not a 8-bit microcontroller... It is big, expensive needs a lot of things around it to be any usable. From that I don't see why and how it needs to be without OS, depending on what you understand under OS. Does MS-DOS count? > And I'm thinking about using Ada instead of C. Sure > First of all what compiler should I > use (free one)? GNAT. However for x86 there are many other Ada compilers. > Is it easy to use Ada without runtime (that depends on > operating system api)? 1. Ada does not use any OS API (not directly). 2. Practically no language (a reasonable subset), Ada included, works without some run-time. > What language features will I miss? Depends on how much of the run-time you are going to throw away and on the motherboard. Almost everything, in this case, probably. > Is there a ready to use bare metal RTS, > or I need to build my own? There is a great number of various OSes for x86. If you have much time and money, you could take VxWorks. Otherwise, Debian Linux is just fine. Even Windows XP would be OK, if you have some licenses left... -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de