Hello. Excuse me, how could I use libtcc as backend for preprocess purpose? I have tested mode 'tcc -E'. It works. So, I think this functionality is available.
But I need dynamically load c-file with preprocess macros. And I need to get program text after preprocess work only. I have two ideas what to do: 1.use tcc_set_output_type(s,TCC_OUTPUT_MEMORY) with tcc_set_options(s,"*") * - some options like flag -E 2. use tcc_set_output_type(s,TCC_OUTPUT_PREPROCESS) I will be grateful advices and examples. Thank You in advance. Alex Melnikov _______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel