View Single Post
Old 04-26-2015, 06:10 PM   #1815 (permalink)
Astro
Dreamer
 
Join Date: Nov 2013
Location: Australia
Posts: 350
Thanks: 95
Thanked 214 Times in 151 Posts
I just tried a couple of builds to see what output i received.
I am using Linux not Windows so the output is a bit different but i didn't get any nag lines with XC16 whereas i do with a project using XC8?
Also the nag lines in XC8 are trying to be informative and helpful.
Maybe somebody using the Windows version of the compiler could check and see if their compiler output is similar to yours.

XC8 build
Code:
CLEAN SUCCESSFUL (total time: 55ms)
make -f nbproject/Makefile-XC8_PIC16F1827.mk SUBPROJECTS= .build-conf
make[1]: Entering directory '/home/jase/MPLABXProjects/BMSMaster_CRW_MPLABX_v1.3/BMSMaster.X'
make  -f nbproject/Makefile-XC8_PIC16F1827.mk dist/XC8_PIC16F1827/production/BMSMaster.X.production.hex
make[2]: Entering directory '/home/jase/MPLABXProjects/BMSMaster_CRW_MPLABX_v1.3/BMSMaster.X'
"/opt/microchip/xc8/v1.21/bin/xc8" --pass1  --chip=16F1827 -Q -G  --double=24 --float=24 --opt=default,+asm,+asmfile,-speed,+space,-debug --addrqual=ignore --mode=free -P -N255 --warn=0 --asmlist --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,+osccal,-resetbits,-download,-stackcall,+clib --output=-mcof,+elf "--errformat=%f:%l: error: (%n) %s" "--warnformat=%f:%l: warning: (%n) %s" "--msgformat=%f:%l: advisory: (%n) %s"    -obuild/XC8_PIC16F1827/production/configuration_bits.p1  configuration_bits.c 
"/opt/microchip/xc8/v1.21/bin/xc8" --pass1  --chip=16F1827 -Q -G  --double=24 --float=24 --opt=default,+asm,+asmfile,-speed,+space,-debug --addrqual=ignore --mode=free -P -N255 --warn=0 --asmlist --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,+osccal,-resetbits,-download,-stackcall,+clib --output=-mcof,+elf "--errformat=%f:%l: error: (%n) %s" "--warnformat=%f:%l: warning: (%n) %s" "--msgformat=%f:%l: advisory: (%n) %s"    -obuild/XC8_PIC16F1827/production/interrupts.p1  interrupts.c 
"/opt/microchip/xc8/v1.21/bin/xc8" --pass1  --chip=16F1827 -Q -G  --double=24 --float=24 --opt=default,+asm,+asmfile,-speed,+space,-debug --addrqual=ignore --mode=free -P -N255 --warn=0 --asmlist --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,+osccal,-resetbits,-download,-stackcall,+clib --output=-mcof,+elf "--errformat=%f:%l: error: (%n) %s" "--warnformat=%f:%l: warning: (%n) %s" "--msgformat=%f:%l: advisory: (%n) %s"    -obuild/XC8_PIC16F1827/production/main.p1  main.c 
"/opt/microchip/xc8/v1.21/bin/xc8" --pass1  --chip=16F1827 -Q -G  --double=24 --float=24 --opt=default,+asm,+asmfile,-speed,+space,-debug --addrqual=ignore --mode=free -P -N255 --warn=0 --asmlist --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,+osccal,-resetbits,-download,-stackcall,+clib --output=-mcof,+elf "--errformat=%f:%l: error: (%n) %s" "--warnformat=%f:%l: warning: (%n) %s" "--msgformat=%f:%l: advisory: (%n) %s"    -obuild/XC8_PIC16F1827/production/system.p1  system.c 
"/opt/microchip/xc8/v1.21/bin/xc8" --pass1  --chip=16F1827 -Q -G  --double=24 --float=24 --opt=default,+asm,+asmfile,-speed,+space,-debug --addrqual=ignore --mode=free -P -N255 --warn=0 --asmlist --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,+osccal,-resetbits,-download,-stackcall,+clib --output=-mcof,+elf "--errformat=%f:%l: error: (%n) %s" "--warnformat=%f:%l: warning: (%n) %s" "--msgformat=%f:%l: advisory: (%n) %s"    -obuild/XC8_PIC16F1827/production/UARTPIC16.p1  UARTPIC16.c 
"/opt/microchip/xc8/v1.21/bin/xc8" --pass1  --chip=16F1827 -Q -G  --double=24 --float=24 --opt=default,+asm,+asmfile,-speed,+space,-debug --addrqual=ignore --mode=free -P -N255 --warn=0 --asmlist --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,+osccal,-resetbits,-download,-stackcall,+clib --output=-mcof,+elf "--errformat=%f:%l: error: (%n) %s" "--warnformat=%f:%l: warning: (%n) %s" "--msgformat=%f:%l: advisory: (%n) %s"    -obuild/XC8_PIC16F1827/production/lcd_drv.p1  lcd_drv.c 
"/opt/microchip/xc8/v1.21/bin/xc8" --pass1  --chip=16F1827 -Q -G  --double=24 --float=24 --opt=default,+asm,+asmfile,-speed,+space,-debug --addrqual=ignore --mode=free -P -N255 --warn=0 --asmlist --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,+osccal,-resetbits,-download,-stackcall,+clib --output=-mcof,+elf "--errformat=%f:%l: error: (%n) %s" "--warnformat=%f:%l: warning: (%n) %s" "--msgformat=%f:%l: advisory: (%n) %s"    -obuild/XC8_PIC16F1827/production/user.p1  user.c 
"/opt/microchip/xc8/v1.21/bin/xc8"  --chip=16F1827 -G -mdist/XC8_PIC16F1827/production/BMSMaster.X.production.map  --double=24 --float=24 --opt=default,+asm,+asmfile,-speed,+space,-debug --addrqual=ignore --mode=free -P -N255 --warn=0 --asmlist --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,+osccal,-resetbits,-download,-stackcall,+clib --output=-mcof,+elf "--errformat=%f:%l: error: (%n) %s" "--warnformat=%f:%l: warning: (%n) %s" "--msgformat=%f:%l: advisory: (%n) %s"     -odist/XC8_PIC16F1827/production/BMSMaster.X.production.elf  build/XC8_PIC16F1827/production/configuration_bits.p1 build/XC8_PIC16F1827/production/interrupts.p1 build/XC8_PIC16F1827/production/main.p1 build/XC8_PIC16F1827/production/system.p1 build/XC8_PIC16F1827/production/UARTPIC16.p1 build/XC8_PIC16F1827/production/lcd_drv.p1 build/XC8_PIC16F1827/production/user.p1     
:: warning: (1273) Omniscient Code Generation not available in Free mode

Memory Summary:
    Program space        used   FB0h (  4016) of  1000h words   ( 98.0%)
    Data space           used    EAh (   234) of   180h bytes   ( 60.9%)
    EEPROM space         used     0h (     0) of   100h bytes   (  0.0%)
    Configuration bits   used     2h (     2) of     2h words   (100.0%)
    ID Location space    used     0h (     0) of     4h bytes   (  0.0%)


Running this compiler in PRO mode, with Omniscient Code Generation enabled,
produces code which is typically 40% smaller than in Free mode.
The MPLAB XC8 PRO compiler output for this code could be 1555 words smaller.
See http://microchip.com for more information.

Microchip MPLAB XC8 C Compiler V1.21
Copyright (C) 2013 Microchip Technology Inc.
License type: Node Configuration

make[2]: Leaving directory '/home/jase/MPLABXProjects/BMSMaster_CRW_MPLABX_v1.3/BMSMaster.X'
make[1]: Leaving directory '/home/jase/MPLABXProjects/BMSMaster_CRW_MPLABX_v1.3/BMSMaster.X'

BUILD SUCCESSFUL (total time: 24s)
Loading code from /home/jase/MPLABXProjects/BMSMaster_CRW_MPLABX_v1.3/BMSMaster.X/dist/XC8_PIC16F1827/production/BMSMaster.X.production.hex...
Loading completed
XC16 build
Code:
CLEAN SUCCESSFUL (total time: 1s)
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory '/home/jase/MPLABXProjects/ACInductionController'
make  -f nbproject/Makefile-default.mk dist/default/production/ACInductionController.production.hex
make[2]: Entering directory '/home/jase/MPLABXProjects/ACInductionController'
"/opt/microchip/xc16/v1.24/bin/xc16-gcc"   ACInductionController.c  -o build/default/production/ACInductionController.o  -c -mcpu=30F4011  -MMD -MF "build/default/production/ACInductionController.o.d"        -g -omf=elf -O0 -msmart-io=1 -Wall -msfr-warn=off
"/opt/microchip/xc16/v1.24/bin/xc16-gcc"   UART4011.c  -o build/default/production/UART4011.o  -c -mcpu=30F4011  -MMD -MF "build/default/production/UART4011.o.d"        -g -omf=elf -O0 -msmart-io=1 -Wall -msfr-warn=off
"/opt/microchip/xc16/v1.24/bin/xc16-gcc"   -o dist/default/production/ACInductionController.production.elf  build/default/production/ACInductionController.o build/default/production/UART4011.o      -mcpu=30F4011        -omf=elf -Wl,,--defsym=__MPLAB_BUILD=1,,--script=p30F4011.gld,--stack=16,--check-sections,--data-init,--pack-data,--handles,--isr,--no-gc-sections,--fill-upper=0,--stackguard=16,--no-force-link,--smart-io,-Map="dist/default/production/ACInductionController.production.map",--report-mem 


Program Memory  [Origin = 0x100, Length = 0x7f00]

section                    address   length (PC units)   length (bytes) (dec)
-------                    -------   -----------------   --------------------
.text                        0x100               0x170           0x228  (552)
.const                       0x270               0xff0          0x17e8  (6120)
.text                       0x1260              0x1a60          0x2790  (10128)
.dinit                      0x2cc0               0x174           0x22e  (558)

                     Total program memory used (bytes):         0x43ce  (17358) 35%


Data Memory  [Origin = 0x800, Length = 0x800]

section                    address      alignment gaps    total length  (dec)
-------                    -------      --------------    -------------------
.ndata                       0x800                   0           0x1ac  (428)
.nbss                        0x9ac                   0           0x188  (392)
.ndata                       0xb34                   0            0x58  (88)
.nbss                        0xb8c                   0            0x40  (64)

                        Total data memory used (bytes):          0x3cc  (972) 47%


Dynamic Memory Usage

region                     address                      maximum length  (dec)
------                     -------                      ---------------------
heap                             0                                   0  (0)
stack                        0xbcc                               0x434  (1076)

                        Maximum dynamic memory (bytes):          0x434  (1076)

"/opt/microchip/xc16/v1.24/bin"/xc16-bin2hex dist/default/production/ACInductionController.production.elf -a  -omf=elf 
make[2]: Leaving directory '/home/jase/MPLABXProjects/ACInductionController'
make[1]: Leaving directory '/home/jase/MPLABXProjects/ACInductionController'

BUILD SUCCESSFUL (total time: 16s)
Loading code from /home/jase/MPLABXProjects/ACInductionController/dist/default/production/ACInductionController.production.hex...
Loading completed
  Reply With Quote