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,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a1fc1cb752cac5ba,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-08-29 02:11:00 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.teledanmark.no!newsfeed1.enitel.no!news.netpower.no!not-for-mail From: "David Brown" Newsgroups: comp.lang.ada Subject: Gnat cross-compiler for m68k, PowerPc Date: Thu, 29 Aug 2002 11:14:53 +0200 Organization: NetPower AS Message-ID: NNTP-Posting-Host: 212.33.158.19 X-Trace: news.netpower.no 1030612128 28671 212.33.158.19 (29 Aug 2002 09:08:48 GMT) X-Complaints-To: abuse@netpower.no NNTP-Posting-Date: Thu, 29 Aug 2002 09:08:48 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:28543 Date: 2002-08-29T11:14:53+02:00 List-Id: I've been looking at Ada as an alternative language (to C/C++) for embedded systems programming. The two platforms I am most interested in are the m68k (specifically, the 68332 chip with the CPU32 core) and PowerPc (MPC565). At the moment I use gcc for the 68332, and I expect to do the same for the MPC565 when we start working with it. I can see a number of benifits of using Ada instead of C, but before I delve too deeply into learning it, I hope someone can tell me if I'm going in the right direction. Both these chips have gcc ports, so am I right in thinking that it's just a matter of the ada libraries, since gnat uses a target-independant front-end tied to the gcc back-end ? I'd be grateful for some pointers as to where to get started on the tools - I will be using w2k as the main host (I'm quite happy with building the compiler from source under cygwin - I've done it for other gcc crosses) and hopefully Linux (if I can get hold of a second PC :-). I'm not expecting to use any OS on the systems -although it might be interesting to try RTEMS, I'd also like to be able to build Ada programs that are not dependant on any OS. Out of curiosity, is Ada practical for smaller chips? We also use the msp430 (16-bit) and the avr (8-bit), both of which have gcc ports. Is it realistic to use Ada for these chips? A serious RTOS like RTEMS is certainly out of the question here. Thanks.