Forum: Compiler & IDEs Problem mit WinAVR


von Kjion (Gast)


Lesenswert?

Hi,

ich hab ein kleines Problem mit WinAVR. Bis jetzt hab ich mit der
20030424er Version meine Quelltexte compiliert. Heute wollte ich mal
die neue Version ausprobieren und seit dem will er nicht ordentlich
compilieren. Egal welches Projekt ich nehmen zeigt er immer eine
ähnliche Meldung an und bricht dann ab.
Weiß jemand woran das liegt und vor allem wie man das ändern kann ??
Wie gesagt mit der alten Version hat das einwandfrei funktioniert...

MfG Kjion


Size before:
   text     data      bss      dec      hex  filename
      0     4994        0     4994     1382  main.hex
avr-gcc -c -mmcu=atmega8 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-ahlms=main.lst main.c -o main.o
avr-gcc -mmcu=atmega8 -Wl,-Map=main.map,--cref main.o servo.o
netzwerk.o adc.o   -lm --output main.elf
avr-objcopy -O ihex -R .eeprom main.elf main.hex
avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load"
--change-section-lma .eeprom=0 -O ihex main.elf main.eep
avr-objdump -h -S main.elf > main.lss
objtool loadelf main.elf mapfile main.map writecof main.cof
process_begin: CreateProcess((null), objtool loadelf main.elf mapfile
main.map writecof main.cof, ...) failed.
make (e=2): Die angegebene Datei wurde nicht gefunden.

make: *** [main.cof] Error 2

> Process Exit Code: 2

von Peter Fleury (Gast)


Lesenswert?

Du muss eben das Makefile anpassen, resp. das neue
\winavr\sample\makefile verwenden und für dein Projekt anpassen.

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.