18.3.6.1 Variables to Control Tool Names/Locations

The following variables can be overridden:

MP_CC Complete path to C compiler executable name
MP_BC Complete path to Basic compiler executable name
MP_AS Complete path to assembler executable name
MP_LD Complete path to linker executable name
MP_AR Complete path to archiver executable name
MP_CC_DIR Directory to C compiler executable
MP_BC_DIR Directory to basic compiler executable
MP_AS_DIR Directory to assembler compiler executable
MP_LD_DIR Directory to linker compiler executable
MP_AR_DIR Directory to archiver compiler executable
# Example *nix:
make MP_CC=/opt/microchip/xc32/4.21/bin/xc32-gcc.exe 
# Example Windows:
make "C:/Program\ Files/Microchip/xc32/4.21/bin/xc32-gcc.exe"