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
62#define TCC_OUTPUT_OBJ 3 /* object file */62#define TCC_OUTPUT_OBJ 3 /* object file */
63int tcc_set_output_type(TCCState *s, int output_type);63int 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 */
66int tcc_add_library_path(TCCState *s, const char *pathname);70int tcc_add_library_path(TCCState *s, const char *pathname);
67 71

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