diff options
| author | bellard <bellard> | 2002-08-31 12:44:16 +0000 |
|---|---|---|
| committer | bellard <bellard> | 2002-08-31 12:44:16 +0000 |
| commit | bc427f5bec9554d5759a2888daafc18b76056e11 (patch) | |
| tree | 65cf6fb6dc2b27e0b86cc33ebb654b10f59f73c8 /tcc-doc.texi | |
| parent | 540d31895c8b28bf085a6612e1093879179dbc7a (diff) | |
| download | tinycc-bc427f5bec9554d5759a2888daafc18b76056e11.tar.gz tinycc-bc427f5bec9554d5759a2888daafc18b76056e11.tar.bz2 | |
update
Diffstat (limited to 'tcc-doc.texi')
| -rw-r--r-- | tcc-doc.texi | 13 |
1 files changed, 12 insertions, 1 deletions
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 |
