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 X-Google-Thread: 103376,3025dd6d917b499c X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.66.76.38 with SMTP id h6mr3263582paw.15.1349635392925; Sun, 07 Oct 2012 11:43:12 -0700 (PDT) Path: g9ni31681pbh.1!nntp.google.com!news.glorb.com!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Ada, the best language with the not-so-best tool chain Date: Sun, 7 Oct 2012 20:43:10 +0200 Organization: cbb software GmbH Message-ID: <1930oitnyzms0$.1maochag0ph87.dlg@40tude.net> References: <38af7fb8-b0a4-4a31-87aa-b7b698cc89c3@googlegroups.com> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: 9A8bJrx4NhDLcSmbrb6AdA.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Date: 2012-10-07T20:43:10+02:00 List-Id: On Sun, 7 Oct 2012 10:34:51 -0700 (PDT), Patrick wrote: > I wanted to use it for embedded design(as in baremetal) but no free of > cost version lets me do that. Why would you expect that? I mean the evaluation board, BSP, C cross compiler, they are not free. Why Ada compiler should be? > There is a new driver tutorial out for Minix3 and I was thinking about > writing a driver but I can't do that either. There is no gnat on Minix and > you can't cross compile for minix from Windows/Linux etc.. so I don't know > how to get ada on it... Ask AdaCore or switch to VxWorks. Neither would be for free, of course. > No solution will be easy but I was hoping to start a hypothetical discussion on solutions. > > For instance: > > 1)If we had a Ada runtime written in C, then we could cross compile with GCC as-is no? No > 2)ASM is not really portable but surely some flavours must be, If we had a > converter, we could cross compile at the ASM stage no? No > I have only two :( > > Does anyone have some more ideas? 3) Don't buy any hardware for which there is no Ada compiler. It is economically infeasible unless you are going to ship thousands of boards. In the latter case, you would have enough funding to order a BSP and an Ada compiler for it. There is a mental block most people have. They see only the hardware, assuming software kind of non-essential. But the costs of software developing, testing and maintenance are far bigger than ones of the hardware. Except for hard physical constraints (e.g. power consumption, weight, durability etc), hardware choice is subordinate. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de