diff options
| author | bellard <bellard> | 2004-10-23 22:49:08 +0000 |
|---|---|---|
| committer | bellard <bellard> | 2004-10-23 22:49:08 +0000 |
| commit | 45466d2df65ed6c13be0362b409fac984478664b (patch) | |
| tree | 2787254af88a93b6741cd28a22567f91cbe67832 | |
| parent | 807321efbaf0d7ce755adeb06e0cf1a27074c49b (diff) | |
| download | tinycc-45466d2df65ed6c13be0362b409fac984478664b.tar.gz tinycc-45466d2df65ed6c13be0362b409fac984478664b.tar.bz2 | |
output format support
| -rw-r--r-- | libtcc.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -62,6 +62,10 @@ int tcc_compile_string(TCCState *s, const char *buf); #define TCC_OUTPUT_OBJ 3 /* object file */ int tcc_set_output_type(TCCState *s, int output_type); +#define TCC_OUTPUT_FORMAT_ELF 0 /* default output format: ELF */ +#define TCC_OUTPUT_FORMAT_BINARY 1 /* binary image output */ +#define TCC_OUTPUT_FORMAT_COFF 2 /* COFF */ + /* equivalent to -Lpath option */ int tcc_add_library_path(TCCState *s, const char *pathname); |
