On 02/17/11 04:01, avr-libc-dev-requ...@nongnu.org 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. ...Brad _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-libc-dev