Guest User

Untitled

a guest
Jul 16th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.02 KB | None | 0 0
  1. amstan@gwem:~/Projects/lights$ cat Makefile |grep avr-gcc
  2. CC = avr-gcc
  3. amstan@gwem:~/Projects/lights$ make clean all
  4. 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 \
  5. | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > main.d; \
  6. [ -s main.d ] || rm -f main.d
  7.  
  8. -------- begin --------
  9.  
  10. Cleaning project:
  11. rm -f main.hex
  12. rm -f main.eep
  13. rm -f main.obj
  14. rm -f main.cof
  15. rm -f main.elf
  16. rm -f main.map
  17. rm -f main.obj
  18. rm -f main.a90
  19. rm -f main.sym
  20. rm -f main.lnk
  21. rm -f main.lss
  22. rm -f main.o
  23. rm -f main.lst
  24. rm -f main.s
  25. rm -f main.d
  26. Errors: none
  27. -------- end --------
  28.  
  29. avr-gcc (GCC) 4.5.3
  30. Copyright (C) 2010 Free Software Foundation, Inc.
  31. This is free software; see the source for copying conditions. There is NO
  32. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  33.  
  34.  
  35. Compiling: main.c
  36. 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
  37.  
  38. Linking: main.elf
  39. 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
  40.  
  41. Creating load file for Flash: main.hex
  42. avr-objcopy -O ihex -R .eeprom main.elf main.hex
  43.  
  44. Creating load file for EEPROM: main.eep
  45. avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" \
  46. --change-section-lma .eeprom=0 -O ihex main.elf main.eep
  47. avr-objcopy: --change-section-lma .eeprom=0x0000000000000000 never used
  48.  
  49. Creating Extended Listing: main.lss
  50. avr-objdump -h -S main.elf > main.lss
  51.  
  52. Creating Symbol Table: main.sym
  53. avr-nm -n main.elf > main.sym
  54.  
  55. Size after:
  56. main.elf :
  57. section size addr
  58. .text 0x142 0x0
  59. .stab 0xcd8 0x0
  60. .stabstr 0x855 0x0
  61. Total 0x166f
Add Comment
Please, Sign In to add comment