rendered paste bodyavr-gcc -c -g -Os -Wall -Wstrict-prototypes -IC:\WinAVR\AVRlib -Wa,-ahlms=datalogger.lst -mmcu=atmega8 -I. datalogger.c -o datalogger.o
avr-gcc -c -g -Os -Wall -Wstrict-prototypes -IC:\WinAVR\AVRlib -Wa,-ahlms=C:\WinAVR\AVRlib/buffer.lst -mmcu=atmega8 -I. C:\WinAVR\AVRlib/buffer.c -o C:\WinAVR\AVRlib/buffer.o
avr-gcc -c -g -Os -Wall -Wstrict-prototypes -IC:\WinAVR\AVRlib -Wa,-ahlms=C:\WinAVR\AVRlib/uart.lst -mmcu=atmega8 -I. C:\WinAVR\AVRlib/uart.c -o C:\WinAVR\AVRlib/uart.o
avr-gcc -c -g -Os -Wall -Wstrict-prototypes -IC:\WinAVR\AVRlib -Wa,-ahlms=C:\WinAVR\AVRlib/rprintf.lst -mmcu=atmega8 -I. C:\WinAVR\AVRlib/rprintf.c -o C:\WinAVR\AVRlib/rprintf.o
avr-gcc -c -g -Os -Wall -Wstrict-prototypes -IC:\WinAVR\AVRlib -Wa,-ahlms=C:\WinAVR\AVRlib/vt100.lst -mmcu=atmega8 -I. C:\WinAVR\AVRlib/vt100.c -o C:\WinAVR\AVRlib/vt100.o
avr-gcc -c -g -Os -Wall -Wstrict-prototypes -IC:\WinAVR\AVRlib -Wa,-ahlms=C:\WinAVR\AVRlib/timer.lst -mmcu=atmega8 -I. C:\WinAVR\AVRlib/timer.c -o C:\WinAVR\AVRlib/timer.o
avr-gcc -c -g -Os -Wall -Wstrict-prototypes -IC:\WinAVR\AVRlib -Wa,-ahlms=C:\WinAVR\AVRlib/a2d.lst -mmcu=atmega8 -I. C:\WinAVR\AVRlib/a2d.c -o C:\WinAVR\AVRlib/a2d.o
avr-gcc -c -g -Os -Wall -Wstrict-prototypes -IC:\WinAVR\AVRlib -Wa,-ahlms=C:\WinAVR\AVRlib/extint.lst -mmcu=atmega8 -I. C:\WinAVR\AVRlib/extint.c -o C:\WinAVR\AVRlib/extint.o
avr-gcc C:\WinAVR\AVRlib/buffer.o C:\WinAVR\AVRlib/uart.o C:\WinAVR\AVRlib/rprintf.o C:\WinAVR\AVRlib/vt100.o C:\WinAVR\AVRlib/timer.o C:\WinAVR\AVRlib/a2d.o C:\WinAVR\AVRlib/extint.o datalogger.o -Wl,-Map=datalogger.map,--cref -mmcu=atmega8 -o datalogger.elf
avr-objcopy --debugging -O coff-ext-avr \
--change-section-address .data-0x800000 \
--change-section-address .bss-0x800000 \
--change-section-address .noinit-0x800000 \
--change-section-address .eeprom-0x810000 \
datalogger.elf datalogger.cof
avr-objcopy -O ihex -R .eeprom datalogger.elf datalogger.hex
avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O ihex datalogger.elf datalogger.eep
avr-size datalogger.elf
text data bss dec hex filename
6500 0 199 6699 1a2b datalogger.elf
Errors: none
rm C:\WinAVR\AVRlib/extint.o C:\WinAVR\AVRlib/rprintf.o C:\WinAVR\AVRlib/buffer.o C:\WinAVR\AVRlib/timer.o C:\WinAVR\AVRlib/uart.o C:\WinAVR\AVRlib/vt100.o C:\WinAVR\AVRlib/a2d.o