code building ....
For those building the code under MPLAB a good build should have an output like this ...
note you can also see the tool versions in the output below ....
regards,
moodz
Release build of project `C:\WORK\METAL\Metal23RELEASE\23001H\Metal23.mcp' started.
Language tool versions: pic30-as.exe v3.23, pic30-gcc.exe v3.25, pic30-ld.exe v3.23, pic30-ar.exe v3.25
Wed Sep 21 20:51:01 2011
----------------------------------------------------------------------
Clean: Deleting intermediary and output files.
Clean: Deleted file "C:\WORK\METAL\Metal23RELEASE\23001H\main.o".
Clean: Deleted file "C:\WORK\METAL\Metal23RELEASE\23001H\serial.o" .
Clean: Deleted file "C:\WORK\METAL\Metal23RELEASE\23001H\pwm.o".
Clean: Deleted file "C:\WORK\METAL\Metal23RELEASE\23001H\eeprom_rw .o".
Clean: Deleted file "C:\WORK\METAL\Metal23RELEASE\23001H\ADC.o".
Clean: Deleted file "C:\WORK\METAL\Metal23RELEASE\23001H\timers.o" .
Clean: Deleted file "C:\WORK\METAL\Metal23RELEASE\23001H\vars.o".
Clean: Deleted file "C:\WORK\METAL\Metal23RELEASE\23001H\main_loop .o".
Clean: Deleted file "C:\WORK\METAL\Metal23RELEASE\23001H\RS232menu .o".
Clean: Deleted file "C:\WORK\METAL\Metal23RELEASE\23001H\QEImenu.o ".
Clean: Deleted file "C:\WORK\METAL\Metal23RELEASE\23001H\lcd.o".
Clean: Deleted file "C:\WORK\METAL\Metal23RELEASE\23001H\Metal23.c of".
Clean: Deleted file "C:\WORK\METAL\Metal23RELEASE\23001H\Metal23.h ex".
Clean: Done.
Executing: "C:\Program Files\Microchip\mplabc30\v3.25\bin\pic30-gcc.exe" -mcpu=30F4012 -x c -c "main.c" -o"main.o" -Wall -Os -legacy-libc
Executing: "C:\Program Files\Microchip\mplabc30\v3.25\bin\pic30-gcc.exe" -mcpu=30F4012 -x c -c "serial.c" -o"serial.o" -Wall -Os -legacy-libc
Executing: "C:\Program Files\Microchip\mplabc30\v3.25\bin\pic30-gcc.exe" -mcpu=30F4012 -x c -c "pwm.c" -o"pwm.o" -Wall -Os -legacy-libc
Executing: "C:\Program Files\Microchip\mplabc30\v3.25\bin\pic30-gcc.exe" -mcpu=30F4012 -c "eeprom_rw.s" -o"eeprom_rw.o"
Executing: "C:\Program Files\Microchip\mplabc30\v3.25\bin\pic30-gcc.exe" -mcpu=30F4012 -x c -c "ADC.c" -o"ADC.o" -Wall -Os -legacy-libc
Executing: "C:\Program Files\Microchip\mplabc30\v3.25\bin\pic30-gcc.exe" -mcpu=30F4012 -x c -c "timers.c" -o"timers.o" -Wall -Os -legacy-libc
Executing: "C:\Program Files\Microchip\mplabc30\v3.25\bin\pic30-gcc.exe" -mcpu=30F4012 -x c -c "vars.c" -o"vars.o" -Wall -Os -legacy-libc
Executing: "C:\Program Files\Microchip\mplabc30\v3.25\bin\pic30-gcc.exe" -mcpu=30F4012 -x c -c "main_loop.c" -o"main_loop.o" -Wall -Os -legacy-libc
Executing: "C:\Program Files\Microchip\mplabc30\v3.25\bin\pic30-gcc.exe" -mcpu=30F4012 -x c -c "RS232menu.c" -o"RS232menu.o" -Wall -Os -legacy-libc
Executing: "C:\Program Files\Microchip\mplabc30\v3.25\bin\pic30-gcc.exe" -mcpu=30F4012 -x c -c "QEImenu.c" -o"QEImenu.o" -Wall -Os -legacy-libc
Executing: "C:\Program Files\Microchip\mplabc30\v3.25\bin\pic30-gcc.exe" -mcpu=30F4012 -x c -c "lcd.c" -o"lcd.o" -Wall -Os -legacy-libc
Executing: "C:\Program Files\Microchip\mplabc30\v3.25\bin\pic30-gcc.exe" -mcpu=30F4012 "main.o" "serial.o" "pwm.o" "eeprom_rw.o" "ADC.o" "timers.o" "vars.o" "main_loop.o" "RS232menu.o" "QEImenu.o" "lcd.o" -legacy-libc -o"Metal23.cof" -Wl,-L"C:\Program Files\Microchip\MPLAB C30\lib",--script="..\..\..\..\Program Files\Microchip\mplabc30\v3.25\support\dsPIC30F\gl d\p30f4012.gld",--defsym=__MPLAB_BUILD=1,--heap=200,--stack=320,--no-check-sections,-Map="Metal23.map",--report-mem,--cref,--warn-section-align
Program Memory [Origin = 0x100, Length = 0x7f00]
section address length (PC units) length (bytes) (dec)
------- ------- ----------------- --------------------
.text 0x100 0x38e0 0x5550 (21840)
.const 0x39e0 0x592 0x85b (2139)
.text 0x3f72 0x86c 0xca2 (3234)
.dinit 0x47de 0x294 0x3de (990)
.text 0x4a72 0x734 0xace (2766)
.isr 0x51a6 0x2 0x3 (3)
Total program memory used (bytes): 0x78fc (30972) 63%
Data EEPROM Memory [Origin = 0x7ffc00, Length = 0x400]
section address length (PC units) length (bytes) (dec)
------- ------- ----------------- --------------------
_011012a04e79c198 0x7ffc00 0x1c 0x1c (2
Total data EEPROM used (bytes): 0x1c (2
2%
Data Memory [Origin = 0x800, Length = 0x800]
section address alignment gaps total length (dec)
------- ------- -------------- -------------------
.nbss 0x800 0 0x26 (3
.ndata 0x826 0 0x20 (32)
.nbss 0x846 0 0x8a (13
.ndata 0x8d0 0 0xc (12)
.nbss 0x8dc 0 0xc (12)
.ndata 0x8e8 0 0x4 (4)
.nbss 0x8ec 0 0x2 (2)
.data 0x8ee 0 0x242 (57
.dconst 0xb30 0 0x24 (36)
.data 0xb54 0 0xa (10)
.bss 0xb5e 0 0x2 (2)
.data 0xb60 0 0x2 (2)
.dconst 0xb62 0 0x2 (2)
.data 0xb64 0 0x2 (2)
.bss 0xb66 0 0x2 (2)
.heap 0xb68 0 0xc8 (200)
Total data memory used (bytes): 0x430 (1072) 52%
Dynamic Memory Usage
region address maximum length (dec)
------ ------- ---------------------
heap 0xb68 0xc8 (200)
stack 0xc30 0x3d0 (976)
Maximum dynamic memory (bytes): 0x498 (1176)
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-bin2hex.exe" "C:\WORK\METAL\Metal23RELEASE\23001H\Metal23.c of"
Loaded C:\WORK\METAL\Metal23RELEASE\23001H\Metal23.cof.
----------------------------------------------------------------------
Release build of project `C:\WORK\METAL\Metal23RELEASE\23001H\Metal23.mcp' succeeded.
Language tool versions: pic30-as.exe v3.23, pic30-gcc.exe v3.25, pic30-ld.exe v3.23, pic30-ar.exe v3.25
Wed Sep 21 20:51:07 2011
----------------------------------------------------------------------
BUILD SUCCEEDED
For those building the code under MPLAB a good build should have an output like this ...
note you can also see the tool versions in the output below ....
regards,
moodz
Release build of project `C:\WORK\METAL\Metal23RELEASE\23001H\Metal23.mcp' started.
Language tool versions: pic30-as.exe v3.23, pic30-gcc.exe v3.25, pic30-ld.exe v3.23, pic30-ar.exe v3.25
Wed Sep 21 20:51:01 2011
----------------------------------------------------------------------
Clean: Deleting intermediary and output files.
Clean: Deleted file "C:\WORK\METAL\Metal23RELEASE\23001H\main.o".
Clean: Deleted file "C:\WORK\METAL\Metal23RELEASE\23001H\serial.o" .
Clean: Deleted file "C:\WORK\METAL\Metal23RELEASE\23001H\pwm.o".
Clean: Deleted file "C:\WORK\METAL\Metal23RELEASE\23001H\eeprom_rw .o".
Clean: Deleted file "C:\WORK\METAL\Metal23RELEASE\23001H\ADC.o".
Clean: Deleted file "C:\WORK\METAL\Metal23RELEASE\23001H\timers.o" .
Clean: Deleted file "C:\WORK\METAL\Metal23RELEASE\23001H\vars.o".
Clean: Deleted file "C:\WORK\METAL\Metal23RELEASE\23001H\main_loop .o".
Clean: Deleted file "C:\WORK\METAL\Metal23RELEASE\23001H\RS232menu .o".
Clean: Deleted file "C:\WORK\METAL\Metal23RELEASE\23001H\QEImenu.o ".
Clean: Deleted file "C:\WORK\METAL\Metal23RELEASE\23001H\lcd.o".
Clean: Deleted file "C:\WORK\METAL\Metal23RELEASE\23001H\Metal23.c of".
Clean: Deleted file "C:\WORK\METAL\Metal23RELEASE\23001H\Metal23.h ex".
Clean: Done.
Executing: "C:\Program Files\Microchip\mplabc30\v3.25\bin\pic30-gcc.exe" -mcpu=30F4012 -x c -c "main.c" -o"main.o" -Wall -Os -legacy-libc
Executing: "C:\Program Files\Microchip\mplabc30\v3.25\bin\pic30-gcc.exe" -mcpu=30F4012 -x c -c "serial.c" -o"serial.o" -Wall -Os -legacy-libc
Executing: "C:\Program Files\Microchip\mplabc30\v3.25\bin\pic30-gcc.exe" -mcpu=30F4012 -x c -c "pwm.c" -o"pwm.o" -Wall -Os -legacy-libc
Executing: "C:\Program Files\Microchip\mplabc30\v3.25\bin\pic30-gcc.exe" -mcpu=30F4012 -c "eeprom_rw.s" -o"eeprom_rw.o"
Executing: "C:\Program Files\Microchip\mplabc30\v3.25\bin\pic30-gcc.exe" -mcpu=30F4012 -x c -c "ADC.c" -o"ADC.o" -Wall -Os -legacy-libc
Executing: "C:\Program Files\Microchip\mplabc30\v3.25\bin\pic30-gcc.exe" -mcpu=30F4012 -x c -c "timers.c" -o"timers.o" -Wall -Os -legacy-libc
Executing: "C:\Program Files\Microchip\mplabc30\v3.25\bin\pic30-gcc.exe" -mcpu=30F4012 -x c -c "vars.c" -o"vars.o" -Wall -Os -legacy-libc
Executing: "C:\Program Files\Microchip\mplabc30\v3.25\bin\pic30-gcc.exe" -mcpu=30F4012 -x c -c "main_loop.c" -o"main_loop.o" -Wall -Os -legacy-libc
Executing: "C:\Program Files\Microchip\mplabc30\v3.25\bin\pic30-gcc.exe" -mcpu=30F4012 -x c -c "RS232menu.c" -o"RS232menu.o" -Wall -Os -legacy-libc
Executing: "C:\Program Files\Microchip\mplabc30\v3.25\bin\pic30-gcc.exe" -mcpu=30F4012 -x c -c "QEImenu.c" -o"QEImenu.o" -Wall -Os -legacy-libc
Executing: "C:\Program Files\Microchip\mplabc30\v3.25\bin\pic30-gcc.exe" -mcpu=30F4012 -x c -c "lcd.c" -o"lcd.o" -Wall -Os -legacy-libc
Executing: "C:\Program Files\Microchip\mplabc30\v3.25\bin\pic30-gcc.exe" -mcpu=30F4012 "main.o" "serial.o" "pwm.o" "eeprom_rw.o" "ADC.o" "timers.o" "vars.o" "main_loop.o" "RS232menu.o" "QEImenu.o" "lcd.o" -legacy-libc -o"Metal23.cof" -Wl,-L"C:\Program Files\Microchip\MPLAB C30\lib",--script="..\..\..\..\Program Files\Microchip\mplabc30\v3.25\support\dsPIC30F\gl d\p30f4012.gld",--defsym=__MPLAB_BUILD=1,--heap=200,--stack=320,--no-check-sections,-Map="Metal23.map",--report-mem,--cref,--warn-section-align
Program Memory [Origin = 0x100, Length = 0x7f00]
section address length (PC units) length (bytes) (dec)
------- ------- ----------------- --------------------
.text 0x100 0x38e0 0x5550 (21840)
.const 0x39e0 0x592 0x85b (2139)
.text 0x3f72 0x86c 0xca2 (3234)
.dinit 0x47de 0x294 0x3de (990)
.text 0x4a72 0x734 0xace (2766)
.isr 0x51a6 0x2 0x3 (3)
Total program memory used (bytes): 0x78fc (30972) 63%
Data EEPROM Memory [Origin = 0x7ffc00, Length = 0x400]
section address length (PC units) length (bytes) (dec)
------- ------- ----------------- --------------------
_011012a04e79c198 0x7ffc00 0x1c 0x1c (2

Total data EEPROM used (bytes): 0x1c (2

Data Memory [Origin = 0x800, Length = 0x800]
section address alignment gaps total length (dec)
------- ------- -------------- -------------------
.nbss 0x800 0 0x26 (3

.ndata 0x826 0 0x20 (32)
.nbss 0x846 0 0x8a (13

.ndata 0x8d0 0 0xc (12)
.nbss 0x8dc 0 0xc (12)
.ndata 0x8e8 0 0x4 (4)
.nbss 0x8ec 0 0x2 (2)
.data 0x8ee 0 0x242 (57

.dconst 0xb30 0 0x24 (36)
.data 0xb54 0 0xa (10)
.bss 0xb5e 0 0x2 (2)
.data 0xb60 0 0x2 (2)
.dconst 0xb62 0 0x2 (2)
.data 0xb64 0 0x2 (2)
.bss 0xb66 0 0x2 (2)
.heap 0xb68 0 0xc8 (200)
Total data memory used (bytes): 0x430 (1072) 52%
Dynamic Memory Usage
region address maximum length (dec)
------ ------- ---------------------
heap 0xb68 0xc8 (200)
stack 0xc30 0x3d0 (976)
Maximum dynamic memory (bytes): 0x498 (1176)
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-bin2hex.exe" "C:\WORK\METAL\Metal23RELEASE\23001H\Metal23.c of"
Loaded C:\WORK\METAL\Metal23RELEASE\23001H\Metal23.cof.
----------------------------------------------------------------------
Release build of project `C:\WORK\METAL\Metal23RELEASE\23001H\Metal23.mcp' succeeded.
Language tool versions: pic30-as.exe v3.23, pic30-gcc.exe v3.25, pic30-ld.exe v3.23, pic30-ar.exe v3.25
Wed Sep 21 20:51:07 2011
----------------------------------------------------------------------
BUILD SUCCEEDED
Comment