3.1.2 Driver Environment Variables

No environment variables are defined or required by the compiler for it to execute.

Adjusting the PATH environment variable allows you to run the compiler driver without having to specify the full compiler path.

This variable can be automatically updated when installing the compiler by selecting the Add xc8 to the path environment variable checkbox in the appropriate dialog.

Note that the directories specified by the PATH variable are only used to locate the compiler driver. Once the driver is running, it will manage access to the internal compiler applications, such as the assembler and linker, etc.

Typically, your IDE will allow the compiler to be selected in the project's properties, without the need for the PATH variable to be defined.