4.1.2 How Can I Tell If the Compiler has Installed Successfully?

You can use one of the actions below to check for compiler installation.

  • Find the compiler version on the command line - Use a compiler command line binary to show the version number.
    xc8-cc --version
    xc16-cc --version
    xc-dsc-gcc --version
    xc32-gcc --version
  • Check the compiler installation directory - Check for compiler version (vx.xx.xx). Common paths are:
    • Windows: C:/Program Files/Microchip/xc8/vx.xx.xx
    • Linux: /opt/microchip/xc8/vx.xx.xx
    • macOS: /Applications/microchip/xc8/vx.xx.xx