initial implementation of -E option

This commit is contained in:
bellard
2006-10-16 19:44:00 +00:00
parent 6ca0299e5b
commit 200b58dad8
2 changed files with 85 additions and 11 deletions

View File

@ -60,6 +60,7 @@ int tcc_compile_string(TCCState *s, const char *buf);
#define TCC_OUTPUT_EXE 1 /* executable file */
#define TCC_OUTPUT_DLL 2 /* dynamic library */
#define TCC_OUTPUT_OBJ 3 /* object file */
#define TCC_OUTPUT_PREPROCESS 4 /* preprocessed file (used internally) */
int tcc_set_output_type(TCCState *s, int output_type);
#define TCC_OUTPUT_FORMAT_ELF 0 /* default output format: ELF */