3.2.2 How Do I Compile On The Command-line?
The compiler driver is called
for all 8-bit devices; e.g., in Windows, it is named xc8-cc
. This application should be invoked for all
aspects of compilation. It is located in the bin directory of the
compiler distribution. Avoid running the individual compiler applications (such as the
assembler or linker) explicitly. You can compile and link in the one command, even if
your project is made up of multiple source files.xc8-cc
.exe
The driver command format is introduced in 4.1 Invoking The Compiler. See the 3.2.4 How Can I Select Which Compiler I Want to Build With? section to ensure you are running the correct driver if you have more than one installed. The command-line options to the driver are detailed in 4.6 Option Descriptions. The files that can be passed to the driver are listed and described in 4.1.3 Input File Types.