aboutsummaryrefslogtreecommitdiff
path: root/libtcc.h
diff options
context:
space:
mode:
authorDetlef Riekenberg <tcc.dev@web.de>2010-04-05 21:21:58 +0200
committerDetlef Riekenberg <tcc.dev@web.de>2010-04-05 21:21:58 +0200
commit78e83d8761afb792f1a848ade7e1f97a21283a5e (patch)
tree63623a064ce2c3d142de39fec205695e933088a6 /libtcc.h
parenta135dd50c65f35fac6528cafd34ade1ec30abc0f (diff)
downloadtinycc-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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libtcc.h b/libtcc.h
index b661fda..c25ab0f 100644
--- a/libtcc.h
+++ b/libtcc.h
@@ -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 */