Hi,
I am new to AVR tools. Just installed win-AVR and AVR Studio 4 and trying to compile some C code. I am running into below error. I am sure something wrong with my setup. But not able to figureout the reason. Can any one kindly help?
++++++++++++++++++++++++++++++++++++++++++++++++++++++
rm -rf main.o work_21Nov.elf dep/* work_21Nov.hex work_21Nov.eep work_21Nov.lss work_21Nov.map
Build succeeded with 0 Warnings...
mmcu=atmega128 -Wall -gdwarf-2 -std=gnu99 -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -MD -MP -MT main.o -MF dep/main.o.d -c ../main.c
/usr/bin/sh: -Wall: command not found
make: [main.o] Error 127 (ignored)
mmcu=atmega128 -Wl,-Map=work_21Nov.map main.o -o work_21Nov.elf
/usr/bin/sh: -Wl,-Map=work_21Nov.map: command not found
make: [work_21Nov.elf] Error 127 (ignored)
avr-objcopy -O ihex -R .eeprom -R .fuse -R .lock -R .signature work_21Nov.elf work_21Nov.hex
avr-objcopy: 'work_21Nov.elf': No such file
make: *** [work_21Nov.hex] Error 1
Build failed with 1 errors and 0 warnings...
++++++++++++++++++++++++++++++++++++++++++++++++++++++