I'm fairly new to TCC. I'm using it to compile a scripting language I am developing and it's working beautifully. At some point, I would like to implement an "inline C code" feature like Perl or Python so that C code can be directly embedded in my scripting language. That is, I want to link tcc and my interpreter and simply pass a string containing C code to a tcc function for compilation and receive machine code in return. Is there such an API call already defined? If so, how do I go about using it? If this question has already been asked, just link me to the relevant thread.
Thanks,
Clayton -
[Prev in Thread]
Current Thread
[Next in Thread]
[Tinycc-devel] Compiling through API call,
Clayton<=