Isn't libClang suitable to compile from memory ?

Hello,

I played with libtooling but I have to get a C interface.
So libclang is my only choice here.

Isn't there a way to get machine code from c code as an input (as a string from an application) ?

Thanks
--š
Jog