21.3.3 Compiler Output Type Macros
The following symbols are defined with the -ansi
command line option.
Symbol-Leading Double Underline | Symbol-Leading & Lagging Double Underline | Description |
---|---|---|
__XC16 | __XC16__ | If defined, 16-bit compiler is in use. |
__C30 | __C30__ | |
__dsPICC30 | __dsPICC30__ | |
__XC16ELF | __XC16ELF__ | If defined, compiler is producing ELF output. |
__C30ELF | __C30ELF__ | |
__dsPIC30ELF | __dsPIC30ELF__ | |
__XC16COFF | __XC16COFF__ | If defined, compiler is producing COFF output. |
__C30COFF | __C30COFF__ | |
__dsPIC30COFF | __dsPIC30COFF__ |
The following symbols are defined when -ansi
is not selected.
Symbol | Description |
---|---|
XC16 | 16-bit compiler is in use. |
C30 | |
dsPIC30 |