avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-libc-dev] Installing avr-libc into avr-gcc 3.2


From: Stephen Noftall
Subject: Re: [avr-libc-dev] Installing avr-libc into avr-gcc 3.2
Date: Tue, 08 Oct 2002 10:41:44 -0700

> If you use the avrfreaks windows distribution with gcc 3.2 *and* you
> also get the latest iom128.h and sfr_defs.h from CVS (because they're
> very useful), then there is (I think) one change you will need to
> make to the latest sfr_defs.h to make it "backwards-compatible" with
> the avrfreaks distribution to get interrupts to link correctly. (IIRC
> this has to do with the definition of _VECTOR). That's the caveat.

Hi Eric;

I got it to compile OK with avr-gcc 3.2, with the latest CVS'd avr-libc. It
was kind of a hack, I just copied the "avr-libc\include" directory to the
"avrgcc\avr\include" directory. Thanks to whoever put in the
#warning "<sig-avr.h> is deprecated, use <avr/signal.h> instead"
messages! After changing my c files to include the right ones (it seems to
do it automatically anyways) it compiled down ok. Now on to seeing what
exactly it compiled ;-) GCC 3.2 still doesn't have the latest libc, but I
won't be using it to much, just the interrupt stuff.

Stephen Noftall






reply via email to

[Prev in Thread] Current Thread [Next in Thread]