[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Problem with WinAVR
From: |
E. Weddington |
Subject: |
Re: [avr-gcc-list] Problem with WinAVR |
Date: |
Thu, 15 Apr 2004 21:54:00 -0600 |
On 15 Apr 2004 at 17:06, Jimmy Shen wrote:
> Hi,
>
> I am getting an error whenever I run 'Make' on WinAvr. The error listed is
> this:
>
> C:\gyrobot\GCC>make
> avr-gcc -c gyroBot.c -I. -Ic:\avrx-dev/avrx -Ic:\winavr/avr/include -Os
> -Wall -g -mmcu=at90s8535 -o GyroBot.o
> gyroBot.c:33: warning: return type of `main' is not `int'
> as: unrecognized option `-cu=at90s8535'
> make: *** [GyroBot.o] Error 1
>
> >Process Exit Code: 2
> -----------------------------------------------------------------------------------------------------------------------------
>
> For some reason it is truncating the 'mm' and I'm not sure why.
Could you post your makefile?