Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- amstan@gwem:~/Projects/lights$ cat Makefile |grep avr-gcc
- CC = avr-gcc
- amstan@gwem:~/Projects/lights$ make clean all
- set -e; avr-gcc -MM -mmcu=atmega48p -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=main.lst -DF_CPU=1000000 -std=gnu99 main.c \
- | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > main.d; \
- [ -s main.d ] || rm -f main.d
- -------- begin --------
- Cleaning project:
- rm -f main.hex
- rm -f main.eep
- rm -f main.obj
- rm -f main.cof
- rm -f main.elf
- rm -f main.map
- rm -f main.obj
- rm -f main.a90
- rm -f main.sym
- rm -f main.lnk
- rm -f main.lss
- rm -f main.o
- rm -f main.lst
- rm -f main.s
- rm -f main.d
- Errors: none
- -------- end --------
- avr-gcc (GCC) 4.5.3
- Copyright (C) 2010 Free Software Foundation, Inc.
- This is free software; see the source for copying conditions. There is NO
- warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- Compiling: main.c
- avr-gcc -c -mmcu=atmega48p -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=main.lst -DF_CPU=1000000 -std=gnu99 main.c -o main.o
- Linking: main.elf
- avr-gcc -mmcu=atmega48p -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=main.o -DF_CPU=1000000 -std=gnu99 main.o --output main.elf -Wl,-Map=main.map,--cref
- Creating load file for Flash: main.hex
- avr-objcopy -O ihex -R .eeprom main.elf main.hex
- Creating load file for EEPROM: main.eep
- avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" \
- --change-section-lma .eeprom=0 -O ihex main.elf main.eep
- avr-objcopy: --change-section-lma .eeprom=0x0000000000000000 never used
- Creating Extended Listing: main.lss
- avr-objdump -h -S main.elf > main.lss
- Creating Symbol Table: main.sym
- avr-nm -n main.elf > main.sym
- Size after:
- main.elf :
- section size addr
- .text 0x142 0x0
- .stab 0xcd8 0x0
- .stabstr 0x855 0x0
- Total 0x166f
Add Comment
Please, Sign In to add comment