Hi Philip
The process I use is as follows (simplified from actual, error checking
removed etc)
// set we want code in memory
tcc_set_output_type(state, TCC_OUTPUT_MEMORY);
// compile the program
tcc_compile_string(state, Program);
// Add symbols for functions in current program, if any
Hello Philip,
Yes, you can allocate your own memory block where you want the compiled
code to be placed. I think it was one of the pointer arguments to
tcc_compile(), but I don't quite remember off the top of my head. Check the
comments in libtcc.h, I believe it's specified there. Let me know if