If target = 'c', how to execute the c program?

Hi @haruhi / @comaniac,

The C code generation is also used in microTVM. Our demo applications for the microNPU is a good example for this, it uses the host toolchain to compile the C output from TVM and that makes it easier to align the compilation flags as well as some features (such as the Ahead-of-Time Executor) only existing for the C output right now.

Also, if you want to add a new backend to TVM, I’d suggest looking at Target Hooks which can use more of the existing TVM code generation infrastructure - there’s an example Target you can use for reference.