|
发表于 2008-3-26 12:14:59
|
显示全部楼层
用一楼代码
>make clean
……
>make all
-------- begin --------
avr-gcc (GCC) 4.2.2 (WinAVR 20071221)
Copyright (C) 2007 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: ../OSsrc/os_core.c
avr-gcc -c -mmcu=atmega128 -I. -gstabs -DF_CPU=1000000UL -Os -funsigned-char -f
unsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ad
hlns=../OSsrc/os_core.lst -I../AVR -I../Config -I../OSsrc -std=gnu99 -MD -MP -MF
.dep/os_core.o.d ../OSsrc/os_core.c -o ../OSsrc/os_core.o
Compiling: ../OSsrc/os_flag.c
avr-gcc -c -mmcu=atmega128 -I. -gstabs -DF_CPU=1000000UL -Os -funsigned-char -f
unsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ad
hlns=../OSsrc/os_flag.lst -I../AVR -I../Config -I../OSsrc -std=gnu99 -MD -MP -MF
.dep/os_flag.o.d ../OSsrc/os_flag.c -o ../OSsrc/os_flag.o
Compiling: ../OSsrc/os_mbox.c
avr-gcc -c -mmcu=atmega128 -I. -gstabs -DF_CPU=1000000UL -Os -funsigned-char -f
unsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ad
hlns=../OSsrc/os_mbox.lst -I../AVR -I../Config -I../OSsrc -std=gnu99 -MD -MP -MF
.dep/os_mbox.o.d ../OSsrc/os_mbox.c -o ../OSsrc/os_mbox.o
Compiling: ../OSsrc/os_mem.c
avr-gcc -c -mmcu=atmega128 -I. -gstabs -DF_CPU=1000000UL -Os -funsigned-char -f
unsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ad
hlns=../OSsrc/os_mem.lst -I../AVR -I../Config -I../OSsrc -std=gnu99 -MD -MP -MF
.dep/os_mem.o.d ../OSsrc/os_mem.c -o ../OSsrc/os_mem.o
Compiling: ../OSsrc/os_mutex.c
avr-gcc -c -mmcu=atmega128 -I. -gstabs -DF_CPU=1000000UL -Os -funsigned-char -f
unsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ad
hlns=../OSsrc/os_mutex.lst -I../AVR -I../Config -I../OSsrc -std=gnu99 -MD -MP -M
F .dep/os_mutex.o.d ../OSsrc/os_mutex.c -o ../OSsrc/os_mutex.o
Compiling: ../OSsrc/os_q.c
avr-gcc -c -mmcu=atmega128 -I. -gstabs -DF_CPU=1000000UL -Os -funsigned-char -f
unsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ad
hlns=../OSsrc/os_q.lst -I../AVR -I../Config -I../OSsrc -std=gnu99 -MD -MP -MF .d
ep/os_q.o.d ../OSsrc/os_q.c -o ../OSsrc/os_q.o
Compiling: ../OSsrc/os_sem.c
avr-gcc -c -mmcu=atmega128 -I. -gstabs -DF_CPU=1000000UL -Os -funsigned-char -f
unsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ad
hlns=../OSsrc/os_sem.lst -I../AVR -I../Config -I../OSsrc -std=gnu99 -MD -MP -MF
.dep/os_sem.o.d ../OSsrc/os_sem.c -o ../OSsrc/os_sem.o
Compiling: ../OSsrc/os_task.c
avr-gcc -c -mmcu=atmega128 -I. -gstabs -DF_CPU=1000000UL -Os -funsigned-char -f
unsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ad
hlns=../OSsrc/os_task.lst -I../AVR -I../Config -I../OSsrc -std=gnu99 -MD -MP -MF
.dep/os_task.o.d ../OSsrc/os_task.c -o ../OSsrc/os_task.o
Compiling: ../OSsrc/os_time.c
avr-gcc -c -mmcu=atmega128 -I. -gstabs -DF_CPU=1000000UL -Os -funsigned-char -f
unsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ad
hlns=../OSsrc/os_time.lst -I../AVR -I../Config -I../OSsrc -std=gnu99 -MD -MP -MF
.dep/os_time.o.d ../OSsrc/os_time.c -o ../OSsrc/os_time.o
Compiling: ../OSsrc/os_tmr.c
avr-gcc -c -mmcu=atmega128 -I. -gstabs -DF_CPU=1000000UL -Os -funsigned-char -f
unsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ad
hlns=../OSsrc/os_tmr.lst -I../AVR -I../Config -I../OSsrc -std=gnu99 -MD -MP -MF
.dep/os_tmr.o.d ../OSsrc/os_tmr.c -o ../OSsrc/os_tmr.o
Compiling: ../OSsrc/os_dbg_r.c
avr-gcc -c -mmcu=atmega128 -I. -gstabs -DF_CPU=1000000UL -Os -funsigned-char -f
unsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ad
hlns=../OSsrc/os_dbg_r.lst -I../AVR -I../Config -I../OSsrc -std=gnu99 -MD -MP -M
F .dep/os_dbg_r.o.d ../OSsrc/os_dbg_r.c -o ../OSsrc/os_dbg_r.o
Compiling: ../AVR/OS_CPU_C.c
avr-gcc -c -mmcu=atmega128 -I. -gstabs -DF_CPU=1000000UL -Os -funsigned-char -f
unsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ad
hlns=../AVR/OS_CPU_C.lst -I../AVR -I../Config -I../OSsrc -std=gnu99 -MD -MP -MF
.dep/OS_CPU_C.o.d ../AVR/OS_CPU_C.c -o ../AVR/OS_CPU_C.o
Compiling: ../APP/main.c
avr-gcc -c -mmcu=atmega128 -I. -gstabs -DF_CPU=1000000UL -Os -funsigned-char -f
unsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ad
hlns=../APP/main.lst -I../AVR -I../Config -I../OSsrc -std=gnu99 -MD -MP -MF .dep
/main.o.d ../APP/main.c -o ../APP/main.o
Assembling: ../AVR/OS_CPU_A.S
avr-gcc -c -mmcu=atmega128 -I. -x assembler-with-cpp -Wa,-adhlns=../AVR/OS_CPU_A
.lst,-gstabs ../AVR/OS_CPU_A.S -o ../AVR/OS_CPU_A.o
Linking: uCOS-II.elf
avr-gcc -mmcu=atmega128 -I. -gstabs -DF_CPU=1000000UL -Os -funsigned-char -funs
igned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhln
s=../OSsrc/os_core.o -I../AVR -I../Config -I../OSsrc -std=gnu99 -MD -MP -MF .dep
/uCOS-II.elf.d ../OSsrc/os_core.o ../OSsrc/os_flag.o ../OSsrc/os_mbox.o ../OSsrc
/os_mem.o ../OSsrc/os_mutex.o ../OSsrc/os_q.o ../OSsrc/os_sem.o ../OSsrc/os_task
.o ../OSsrc/os_time.o ../OSsrc/os_tmr.o ../OSsrc/os_dbg_r.o ../AVR/OS_CPU_C.o ..
/APP/main.o ../AVR/OS_CPU_A.o --output uCOS-II.elf -Wl,-Map=uCOS-II.map,--cref
-lm
Creating load file for Flash: uCOS-II.hex
avr-objcopy -O ihex -R .eeprom uCOS-II.elf uCOS-II.hex
Creating load file for EEPROM: uCOS-II.eep
avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" \
--change-section-lma .eeprom=0 -O ihex uCOS-II.elf uCOS-II.eep
c:\WinAVR-20071221\bin\avr-objcopy.exe: --change-section-lma .eeprom=0x00000000
never used
Creating Extended Listing: uCOS-II.lss
avr-objdump -h -S uCOS-II.elf > uCOS-II.lss
Creating Symbol Table: uCOS-II.sym
avr-nm -n uCOS-II.elf > uCOS-II.sym
Size after:
uCOS-II.elf :
section size addr
.data 266 8388864
.text 11190 0
.bss 1629 8389130
.stab 28644 0
.stabstr 8031 0
Total 49760
-------- end -------- |
|