XC8 compiler with not reacting on --ASMLIST flag

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
Andreas
Posts: 17
Joined: Tue Jan 17, 2017 6:10 pm
Has thanked: 4 times
Been thanked: 1 time
Contact:

XC8 compiler with not reacting on --ASMLIST flag

Post by Andreas »

Hi

Just upgraded from FC7 to FC8, and during my coding I got an Fixup error (1357).
Microchip guides to look in the listing file, however, I cannot make FC8 give the --ASMLIST flag correctly to the cmd

Here's what i wrote in the compile options diaglog
Location:
$(compilerpic)batch\pic_xc8_comp.bat
Parameters:
$(chip) "$(outdir)" "$(target)" --ASMLIST -D__DEBUG

All parameters seems to work except the last two (newly added).

The compile message dialog box outputs

Code: Select all

Launching the compiler...
C:\Program Files (x86)\Flowcode\Common\Compilers\pic\batch\pic_xc8_comp.bat  16F18877 "C:\Users\ahj\DOCUME~1\Fritid\FLOWCO~2\LEDOGT~1\V1\" "LED og to mic kombineret 16F18877 V1" --ASMLIST -D__DEBUG

C:\Users\ahj\DOCUME~1\Fritid\FLOWCO~2\LEDOGT~1\V1>C:\PROGRA~2\Flowcode\Common\COMPIL~1\pic\batch\..\bin\xc8.exe --chip=16F18877  "LED og to mic kombineret 16F18877 V1.c" --MSGDISABLE=359,1273,1388 --FLOAT=32 --DOUBLE=32
Microchip MPLAB XC8 C Compiler (Free Mode) V1.45
(...)

The compilation then runs normally until my error occurs
I notice that the --ASMLIST is in the first line, but not both (which probably causes the error).
Am I using a wrong syntax?

Thank you
Andreas

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Re: XC8 compiler with not reacting on --ASMLIST flag

Post by kersing »

You will need to modify the "$(compilerpic)batch\pic_xc8_comp.bat" file (save a copy of the original). Add the additional parameters to the call to XC8 in that file.
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

Post Reply