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.1 required=5.0 tests=BAYES_00,FREEMAIL_FROM, FREEMAIL_REPLY,HK_RANDOM_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2316ae9df2d6bb2c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-18 08:14:50 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: berndtrog@yahoo.com (Bernd Trog) Newsgroups: comp.lang.ada Subject: Re: GNAT (gcc-3.3) on AVR microcontrolers, need help for compiler debugging Date: 18 Nov 2002 08:14:50 -0800 Organization: http://groups.google.com/ Message-ID: References: NNTP-Posting-Host: 212.185.252.194 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1037636090 22002 127.0.0.1 (18 Nov 2002 16:14:50 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 18 Nov 2002 16:14:50 GMT Xref: archiver1.google.com comp.lang.ada:31048 Date: 2002-11-18T16:14:50+00:00 List-Id: rolf.ebert@gmx.net (Rolf Ebert) wrote in message > I have managed to get my first Ada program running on an AVR > microcontroler just tonight! I simply reads out the keys pressed and > shows the corresponding LEDs on my STK-500 board. [..] > The easy part was the setup of a cross-compiler on Linux/GNU, although > it took me quite some time to find a working set of gcc, binutil, and > libc sources. Good! Please tell us which versions of gcc,binutil,etc works for you! > Anyway, I now need a helping hand who knows a bit about the GNAT > internals. The compiler dies quite often (e.g. when using Integer, > when not inlining assembler code, sometimes when compiling child > units, etc). I'd like to get at least some of them fixed. Well, Denis Chertykov is the author of the avr-backend - but he is quite busy :( But he wrote me he will fix GNAT related bugs in his gcc-backend(gcc/config/avr/avr.c) The problem is to find out if a bug is located in the frontend or the backend. Note, that the frontend has only be used for 16-32(64?) bit CPUs, AFAIK. > Who is willing to exchange some email with me and point me to > interessing locations in the GNAT sources? I did some very small tests with Ada on AVR - but failed to get a working 'for' loop :-/ gcc@gcc.gnu.org migth be a better place to discuss GNAT internals. Bernd