> as: unrecognized option `-cu=atmega128' I think that the "as:" part is the assembler - check the following line in the makefile, especially the -mmcu part to make sure you didn't accidentally change it to -cu. ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS) As far as the warnings go, please paste the first 5 or ten lines of test.c into your next message, it appears your missing some function prototypes and it would be easier to see what is actually there. I'm disappointed that you're having so many problems. I'm working on a project for the circuit cellar contest and was going to mention how easily and quickly I was able to get winavr up and running (actually had zero problems - I know, just what you wanted to hear!). Ken ----- Original Message ----- From: "Herbert Graf" To: Sent: Saturday, April 24, 2004 7:15 PM Subject: Re: [AVR]: Still having problems with WinAVR > > I have been referencing that document. The only way to get it to get close > to working is to add the c:\winavr\avr\include path to the "Extralib" part > of the makefile. I still end up with the error below. > > > Hope this may give you some clues as to where to look. > > Thanks for the help. I hacked my way through the includes, and now I'm > getting this: > > Compiling: test.c > avr-gcc -c -mmcu=atmega128 -I. -g -Os -funsigned-char -funsig > ototypes -Wa,-adhlns=test.lst -std=gnu99 -Wp,-M,-MP,-MT,test > test.c:2: warning: function declaration isn't a prototype > test.c:2: warning: return type of `main' is not `int' > test.c: In function `main': > test.c:3: warning: implicit declaration of function `printf' > as: unrecognized option `-cu=atmega128' > make: *** [test.o] Error 1 > > What the hell is that all about? > > ----snip---- > ---------------------------------- > Herbert's PIC Stuff: > http://repatch.dyndns.org:8383/pic_stuff/ > > -- > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > email listserv@mitvma.mit.edu with SET PICList DIGEST in the body > -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body