Unified · Split
| @@ -62,6 +62,10 @@ int tcc_compile_string(TCCState *s, const char *buf); · 61 unmodified lines | |||
| 62 | #define TCC_OUTPUT_OBJ 3 /* object file */ | 62 | #define TCC_OUTPUT_OBJ 3 /* object file */ |
| 63 | int tcc_set_output_type(TCCState *s, int output_type); | 63 | int tcc_set_output_type(TCCState *s, int output_type); |
| 64 | 64 | ||
| 65 | #define TCC_OUTPUT_FORMAT_ELF 0 /* default output format: ELF */ | ||
| 66 | #define TCC_OUTPUT_FORMAT_BINARY 1 /* binary image output */ | ||
| 67 | #define TCC_OUTPUT_FORMAT_COFF 2 /* COFF */ | ||
| 68 | |||
| 65 | /* equivalent to -Lpath option */ | 69 | /* equivalent to -Lpath option */ |
| 66 | int tcc_add_library_path(TCCState *s, const char *pathname); | 70 | int tcc_add_library_path(TCCState *s, const char *pathname); |
| 67 | 71 | ||