Hey guys,
I was just wondering if there is any type of library that allows me to compile C code? I'm looking for something like:
Code:... char *c = CCodeAsAString(); /* Some Function that returns "int main() {...}" */ ... char *machinecode = compile(c); ...
Is there some sort of GCC library or anything? I just don't actually wanna dig into the massive GCC tree or use a shell script wrapper...
Thanks in advance.