CC5X C compiler for PICmicro

CC5X main page  |  Download


System Requirements

The CC5X compiler uses 32 bit processing (console application) and runs on PC compatible machines using Microsoft Windows.

The installation program runs under Windows. Around 5-10 MB of free disk space is needed to complete installation.

LINUX and MAC users can use wine to run Win32 programs.


A license file is needed to install a licensed compiler edition. This file should preferably be stored at the same folder as the installation program. Otherwise the license file has to be located during the installation process.

CC5X is ready to compile C files after installation. Header and C source files have to be created and edited by separate tools (not included), for instance in the MPLAB suite.

The CC5X files can be deleted without any uninstallation procedure.

Support for Long File Names

CC5X supports long file names. It is also possible to use spaces in file names and include directory names.

Equivalent include directory option formats:

-I"C:\Program Files (x86)\bknd\CC5X"

User Interface

The CC5X compiler is a command-line program that can be run in a console window in the Windows environment. It requires a list of command line options to compile a C source file and generate the required files.

Starting CC5X from Windows can be done by clicking on the executable file. The list of compiler command line options is then written to a console window. The normal way of using CC5X is to use it as a tool from an integrate environment like MPLAB X.

In a console window, the compiler is invoked by writing (note that the full path may have to be written):


Compiling a program:

    cc5x sample1.c

End line