From bc427f5bec9554d5759a2888daafc18b76056e11 Mon Sep 17 00:00:00 2001 From: bellard Date: Sat, 31 Aug 2002 12:44:16 +0000 Subject: update --- tcc-doc.texi | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'tcc-doc.texi') diff --git a/tcc-doc.texi b/tcc-doc.texi index df50133..d9abd16 100644 --- a/tcc-doc.texi +++ b/tcc-doc.texi @@ -67,9 +67,12 @@ Compile a.c and b.c, link them and generate the executable myprog. @item tcc -o myprog a.o b.o link a.o and b.o together and generate the executable myprog. -@item tcc -c -o a.o a.c +@item tcc -c a.c Compile a.c and generate object file a.o +@item tcc -r -o ab.o a.c b.c +Compile a.c and b.c, link them together and generate the object file ab.o. + @end table Scripting: @@ -163,6 +166,10 @@ must also be given). Generate a statically linked executable (default is a shared linked executable) (@samp{-o} option must also be given). +@item -r +Generate an object file combining all input files (@samp{-o} option must +also be given). + @end table @chapter C language support @@ -309,6 +316,10 @@ generate function @code{'my_add'} in section @code{.mycodesection}. dprintf("one arg %d\n", 1); @end example +@item @code{__FUNCTION__} is interpreted as C99 @code{__func__} +(so it has not exactly the same semantics as string literal GNUC +where it is a string literal). + @end itemize @section TinyCC extensions -- cgit v1.3.1