[En-Nut-Discussion] ICCAVR compilation problems

Dusan Ferbas dferbas at etech.cz
Fri Mar 17 11:24:27 CET 2006


Hi Harald,

we are trying to use ATmega256. So ICCAVR comes. In demo examples 
only 1 directory is used. If you have multiple directories, then rule 
'%hex: %o' is not applied.

We found that in nut/app/makerules.avr-icc it looks like there is 
missing 'include $(top_srcdir)/makerules.avr-icc'. In 
nut/makerules.avr-icc in rule '%o: %c' there is missing '-o $@' to 
place compiled moduled in appropriate directory. Sideeffect of this 
is also that makefile which serves more directories and places .o 
files in 1 directory misses those files during next make.

Is there any reason to use makerules.avr-icc in a different way then 
makerules.avr-gcc ?


Dusan  




More information about the En-Nut-Discussion mailing list