How to Compile the KCC compiler

The cross compiler for the KPU55 and potentially other CPUs is called KCC.

 

1. Open Cygwin, change to drive C, and look at the files as shown below.


 

2. run make and it should compile the project. Once compiled you will see the kcc.exe executable ready to compile C code for the KPU55 CPU.

 

 

3. Take a look at the Makefile. In this compile shown above, the Makefile produced an extra file called parser.output for debugging purposes.