程序:#include<avr/io.h>
int mian(void)
{
while(1);
}
错误:Build started 20.2.2011 at 15:02:17
avr-gcc.exe -mmcu=atmega16 -Wall -gdwarf-2 -O0 -fsigned-char -MD -MP -MT int1.o -MF dep/int1.o.d -c ../int1.c
avr-gcc.exe -mmcu=atmega16 int1.o -o int1.elf
c:/winavr-20100110/bin/../lib/gcc/avr/4.3.3/../../../../avr/lib/avr5/crtm16.o:(.init9+0x0): undefined reference to `main'
make: *** [int1.elf] Error 1
Build failed with 1 errors and 0 warnings... |