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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,3025dd6d917b499c X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Received: by 10.224.105.205 with SMTP id u13mr3201364qao.6.1352296976354; Wed, 07 Nov 2012 06:02:56 -0800 (PST) Received: by 10.52.175.73 with SMTP id by9mr932679vdc.1.1352296976332; Wed, 07 Nov 2012 06:02:56 -0800 (PST) Path: gf5ni18188417qab.0!nntp.google.com!c7no10137842qap.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 7 Nov 2012 06:02:56 -0800 (PST) In-Reply-To: <38af7fb8-b0a4-4a31-87aa-b7b698cc89c3@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=129.241.249.6; posting-account=NTdHiAoAAADK0Q7X-MmLoToJVXE1AKUw NNTP-Posting-Host: 129.241.249.6 References: <38af7fb8-b0a4-4a31-87aa-b7b698cc89c3@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Ada, the best language with the not-so-best tool chain From: Kristoffer Nyborg Gregertsen Injection-Date: Wed, 07 Nov 2012 14:02:56 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-11-07T06:02:56-08:00 List-Id: kl. 19:34:51 UTC+2 s=F8ndag 7. oktober 2012 skrev Patrick f=F8lgende: > I think Ada is the best language ever. I have a subset I like now(just 95= really ) and I find it so easy to read other peoples Ada code. >=20 >=20 >=20 > However.. I am I think all this goodness has come with a price. A difficu= lt to implement language. >=20 >=20 >=20 > I wanted to use it for embedded design(as in baremetal) but no free of co= st version lets me do that. >=20 >=20 >=20 > There is a new driver tutorial out for Minix3 and I was thinking about wr= iting a driver but I can't do that either. There is no gnat on Minix and yo= u can't cross compile for minix from Windows/Linux etc.. so I don't know ho= w to get ada on it... >=20 >=20 >=20 > So basically I have Linux/BSD/Windows/OpenIndiana but these are all prett= y heavy and quite complex relative to RTOS or Minix3. >=20 >=20 >=20 > Actually it does not really matter what /*I want */ the community as a w= hole doesn't have enough options when compared to C. >=20 >=20 >=20 > No solution will be easy but I was hoping to start a hypothetical discuss= ion on solutions. >=20 >=20 >=20 > For instance: >=20 >=20 >=20 > 1)If we had a Ada runtime written in C, then we could cross compile with = GCC as-is no? >=20 >=20 >=20 > 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? >=20 >=20 >=20 > I have only two :( >=20 >=20 >=20 > Does anyone have some more ideas? If you want to run Ada on a bare-metal embedded system try GNATforAVR32. I = ported GNAT to the Atmel AVR32 architecture and a Ravenscar bare-board run-= time enviroment to the AVR32 UC3 microcontroller series as a part of my PhD= at NTNU. I have not had time to work on the system after finishing my PhD, but it wo= rks very well on the UC3A series, and can be updated to newer parts without= much effort. https://github.com/gregerts/GNATforAVR32