comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: Please help... troubleshooting Gnat AVR build
Date: Mon, 22 Jun 2009 05:57:25 -0400
Date: 2009-06-22T05:57:25-04:00	[thread overview]
Message-ID: <u1vpcoaka.fsf@stephe-leake.org> (raw)
In-Reply-To: R4t%l.38847$lB7.21254@newsfe19.iad

"Steve D" <nospam_steved94@comcast.net> 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



  reply	other threads:[~2009-06-22  9:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-21 16:19 Please help... troubleshooting Gnat AVR build Steve D
2009-06-22  9:57 ` Stephen Leake [this message]
2009-06-25  2:12   ` Steve D
2009-06-25 11:31     ` John B. Matthews
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox