Unified · Split
| @@ -165,7 +165,7 @@ Print the name of the configured installation directory and a list · 164 unmodified lines | |||
| 165 | of program and library directories tcc will search. | 165 | of program and library directories tcc will search. |
| 166 | 166 | ||
| 167 | @item -c | 167 | @item -c |
| 168 | Generate an object file (@option{-o} option must also be given). | 168 | Generate an object file. |
| 169 | 169 | ||
| 170 | @item -o outfile | 170 | @item -o outfile |
| 171 | Put object file, executable, or dll into output file @file{outfile}. | 171 | Put object file, executable, or dll into output file @file{outfile}. |
| @@ -285,23 +285,21 @@ libxxx.a. The library is searched in the paths specified by the · 113 unmodified lines | |||
| 285 | @option{-L} option. | 285 | @option{-L} option. |
| 286 | 286 | ||
| 287 | @item -shared | 287 | @item -shared |
| 288 | Generate a shared library instead of an executable (@option{-o} option | 288 | Generate a shared library instead of an executable. |
| 289 | must also be given). | ||
| 290 | 289 | ||
| 291 | @item -soname name | 290 | @item -soname name |
| 292 | set name for shared library to be used at runtime | 291 | set name for shared library to be used at runtime |
| 293 | 292 | ||
| 294 | @item -static | 293 | @item -static |
| 295 | Generate a statically linked executable (default is a shared linked | 294 | Generate a statically linked executable (default is a shared linked |
| 296 | executable) (@option{-o} option must also be given). | 295 | executable). |
| 297 | 296 | ||
| 298 | @item -rdynamic | 297 | @item -rdynamic |
| 299 | Export global symbols to the dynamic linker. It is useful when a library | 298 | Export global symbols to the dynamic linker. It is useful when a library |
| 300 | opened with @code{dlopen()} needs to access executable symbols. | 299 | opened with @code{dlopen()} needs to access executable symbols. |
| 301 | 300 | ||
| 302 | @item -r | 301 | @item -r |
| 303 | Generate an object file combining all input files (@option{-o} option must | 302 | Generate an object file combining all input files. |
| 304 | also be given). | ||
| 305 | 303 | ||
| 306 | @item -Wl,-Ttext,address | 304 | @item -Wl,-Ttext,address |
| 307 | Set the start of the .text section to @var{address}. | 305 | Set the start of the .text section to @var{address}. |