[Top][All Lists]

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

[avr-libc-dev] Re: AVR-libc-dev Digest, Vol 99, Issue 13

From: Bradley Jarvis
Subject: [avr-libc-dev] Re: AVR-libc-dev Digest, Vol 99, Issue 13
Date: Thu, 17 Feb 2011 10:55:39 +1100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20110114 Lightning/1.0b2 Thunderbird/3.1.7

On 02/17/11 04:01, address@hidden wrote:
> /usr/libexec/gcc/avr/ld: avr architecture of input file
> `/usr/lib/gcc/avr/4.4.4/../../../../avr/lib/avr6/libc.a(new.o)' is
> incompatible with avr:6 output
> make: *** [bin/tpi/tpi.elf] Error 1
> Has anyone experienced this problem? the rest of the library appears to
> still work.
Ok I found the problem, the makefile adds the -mmcu argument to CFLAGS
but not CPPFLAGS which is new. So new.cc is not compiled to the correct
avr architecture.

Now to fix it so that it does generate the correct CPPFLAGS.


reply via email to

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