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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a1fc1cb752cac5ba X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-08-29 11:37:44 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!sn-xit-05!sn-xit-06!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Gnat cross-compiler for m68k, PowerPc Date: Thu, 29 Aug 2002 13:36:19 -0500 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: X-Newsreader: Microsoft Outlook Express 4.72.3612.1700 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3719.2500 X-Complaints-To: newsabuse@supernews.com Xref: archiver1.google.com comp.lang.ada:28570 Date: 2002-08-29T13:36:19-05:00 List-Id: David Brown wrote in message ... >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. Ada is certainly practical on 16-bit chips. We still support our Ada 83 compiler on the 80186 and the like. The better question is whether you can find a practical implementation for your target. I have no idea whether GNAT would be practical on a 16-bit target, for instance (our compilers were designed from the ground up for small targets). It certainly is technically possible to use Ada on an 8-bit machine. Our original compilers were for the 8080A/8085/Z80 family. But a compiler for such a processor has to keep a tight grip on the size of the runtime, and that can be fairly complex. (We partitioned the runtime so that a program that didn't need any floating point operations, for example, didn't need to include the math packages.) We'd be happy to discuss 8 and 16-bit Ada compilers with anyone that's interested. But, like Robert, we're not interested in doing something just because somebody says it is a good idea... Randy Brukardt.