7.6.12 Miscellaneous Options

The following options do not fit in any of the previous categories.

Table 7-19. Miscellaneous Options
OptionDefinition
--nofallbackBy default, the tool will fall back to a free license when a network, or other license, is unavailable.

Specifying this option will prevent fallback and cause the compilation to fail instead.

-vPrint the commands executed during each stage of compilation.
-xYou can specify the input language explicitly with the -x option:

-x language

Specify explicitly the language for the following input files (rather than letting the compiler choose a default based on the file name suffix). This option applies to all following input files until the next -x option.

The following values are supported by the compiler:

c c-header cpp-output

assembler assembler-with-cpp

-x none

Turn off any specification of a language, so that subsequent files are handled according to their file name suffixes. This is the default behavior but is needed if another -x option has been used.

For example:

xc16-gcc -x assembler foo.asm bar.asm -x none main.c mabonga.s

Without the -x none, the compiler will assume all the input files are for the assembler.