diff options
| author | Detlef Riekenberg <tcc.dev@web.de> | 2010-04-05 21:21:58 +0200 |
|---|---|---|
| committer | Detlef Riekenberg <tcc.dev@web.de> | 2010-04-05 21:21:58 +0200 |
| commit | 78e83d8761afb792f1a848ade7e1f97a21283a5e (patch) | |
| tree | 63623a064ce2c3d142de39fec205695e933088a6 /libtcc.h | |
| parent | a135dd50c65f35fac6528cafd34ade1ec30abc0f (diff) | |
| download | tinycc-78e83d8761afb792f1a848ade7e1f97a21283a5e.tar.gz tinycc-78e83d8761afb792f1a848ade7e1f97a21283a5e.tar.bz2 | |
libtcc: Allow multiple options for -Wl separated with ','
I moved the code to libtcc to prepare for a later tiny_ld
--
By by ... Detlef
Diffstat (limited to 'libtcc.h')
| -rw-r--r-- | libtcc.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -31,6 +31,9 @@ LIBTCCAPI void tcc_set_error_func(TCCState *s, void *error_opaque, /* set/reset a warning */ LIBTCCAPI int tcc_set_warning(TCCState *s, const char *warning_name, int value); +/* set linker option */ +LIBTCCAPI const char * tcc_set_linker(TCCState *s, const char *option, int multi); + /*****************************/ /* preprocessor */ |
