Skip to content
Openc166 Llvm

Openc166 Llvm

github.com • December 1, 2026

A C compiler for the Infineon C166/C167 and ST10: LLVM and Clang with a C166 back end. It compiles C99 with the TASKING C166/ST10 Classic extensions and calling convention to A166 assembly, which openc166 assembles and links with its startup code, runtime and C library.

This is a fork of llvm-project ; the work is on the c166 branch, based on LLVM 23.1.6. LLVM's own README is README.md .

Releases have packages for Linux (x86-64, arm64), Windows (x86-64) and macOS (arm64, 11 and later) with clang , openc166 and the C runtime. Unpack one, put its bin/ on PATH , and:

The packaged clang targets C166 by default ( --target=c166 elsewhere).

openc166's C compiler guide : memory models, TASKING keywords and intrinsics, the C library, calls.

C166.md : what the back end does, how to build and test it, and what changes outside the target.

openc166's design notes .

Extracted Entities

Platforms (3)