Libccwrap is a project mainly written in C, it's free.
A simple API for compiling and linking C code at runtime.
This library provides a simple interface to a compiler binary installed on your system. Inspired by tinycc (http://bellard.org/tcc/), this library aims to allow users to compile and run C code from within their applications at runtime.
Currently the library is only configured to compile code with `cc'. On most systems this should point to gcc.