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,63906ae3b85d500d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-03-28 14:22:35 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!proxad.net!nerim.net!newsspool.nerim.net!not-for-mail From: Stephane Carrez Newsgroups: comp.lang.ada Subject: Re: Ada compiler for 68hc11? Date: Fri, 28 Mar 2003 23:22:29 +0100 Organization: Nerim -- xDSL Internet Provider Message-ID: <3E84CB25.8070307@nerim.fr> References: NNTP-Posting-Host: stcarrez.net1.nerim.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: biggoron.nerim.net 1048890152 6933 62.212.108.40 (28 Mar 2003 22:22:32 GMT) X-Complaints-To: abuse@nerim.net NNTP-Posting-Date: Fri, 28 Mar 2003 22:22:32 +0000 (UTC) To: Rune Winther User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en Xref: archiver1.google.com comp.lang.ada:35802 Date: 2003-03-28T23:22:29+01:00 List-Id: Hi! Rune Winther wrote: > Hi, > > We're using the MIT Handyboard (68hc11) in various student projects and I > would like to be able to develop Ada programs for it. Any hints to where I > might find an Ada compiler for the 68hc11 would be greatly appreciated. > The gcc 3.2.1 compiler can be used but you'll need to use pragma No_Run_Time; because the GNAT runtime is not ported yet to 68HC11. (I'm also pretty sure it will not fit as is on an embedded system like the HC11). You can't raise an exception unless you port the GNAT exception part. I wrote an Ada example for 68HC11 some time ago. It uses the 68HC11 bootstrap mode which means it fits in the 256 bytes constraint (actually even less because the stack must be within that 256 bytes region!). You can have a look at the example: http://gel.sourceforge.net/ada_example.php It shows how you can access the HC11 IO ports in Ada as well as how you can cope without the GNAT runtime. Concerning gcc, you must configure it as follows: ./configure --target=m6811-elf --program-prefix=m6811-elf- --enable-languages=c,ada And you need a gcc 3.2.1 native Ada compiler to build it (trying to build with a GNAT ACT compiler could be problematic at this stage). Beware that it is in alpha state and not checked very much. Stephane -- Home Office E-mail: stcarrez@nerim.fr Stephane.Carrez@solsoft.fr WWW: http://stcarrez.nerim.net http://www.solsoft.com Free the Software! Simplifying Security Policy Management