This document describes libgccjit, an API for embedding GCC inside programs and libraries.
Note that libgccjit is currently of “Alpha” quality; the APIs are not yet set in stone, and they shouldn’t be used in production yet.
There are actually two APIs for the library:
a pure C API:
a C++ wrapper API:
libgccjit++.h. This is a collection of “thin” wrapper classes around the C API, to save typing.
- Topic Reference
- C++ bindings for libgccjit