History

output format support

bellard committed 22 years ago

Commit 45466d21 parent 807321e1 file · +4 −0Browse files

Unified · Split

libtcc.h+4−0
@@ -62,6 +62,10 @@ int tcc_compile_string(TCCState *s, const char *buf); · 61 unmodified lines
6262 #define TCC_OUTPUT_OBJ 3 /* object file */
6363 int tcc_set_output_type(TCCState *s, int output_type);
6464
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+
6569 /* equivalent to -Lpath option */
6670 int tcc_add_library_path(TCCState *s, const char *pathname);
6771

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t