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-Thread: a07f3367d7,dc00c5fd4b21beb X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Please help... troubleshooting Gnat AVR build References: From: Stephen Leake Date: Mon, 22 Jun 2009 05:57:25 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (windows-nt) Cancel-Lock: sha1:MTf4lkcxGYEmebFsD/8Lx8DGTBA= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 015ae4a3f557be9cadf9d10997 Xref: g2news2.google.com comp.lang.ada:6566 Date: 2009-06-22T05:57:25-04:00 List-Id: "Steve D" writes: > But in the step 14 log file I have: > > avr-gcc -c -gnatec=C:\AVR-ADA\build\avr-ada-1.0.2\avr\gnat.adc -gdwarf-2 -gnatwp > -gnatwu -gnatn -gnatp -gnatVn -Os -gnatef -fverbose-asm -frename-registers > -mmcu=at90can128 -fdata-sections -ffunction-sections --RTS=rts/at90can128 -I- > -gnatA C:\AVR-ADA\build\avr-ada-1.0.2\avr\avr_lib\at90can128\avr-mcu.ads > avr-gnatmake: "avr-mcu.ali" incompatible ALI file, please recompile I get this when I first compile with one version of GNAT, and then compile in the same directory with a later version of GNAT. The solution in that case is to delete all .ali files, and start again with the right compiler. I know you said you have tight control over the environment, but maybe check again? At least make sure you have no .ali files around when you start compiling. Maybe you're mixing the cross compiler ali files with the native ones? Otherwise, you've found a compiler bug. -- -- Stephe