Unified · Split
| @@ -276,7 +276,7 @@ default library paths are @file{/usr/local/lib}, @file{/usr/lib} and @file{/lib} · 275 unmodified lines | |||
| 276 | @item -lxxx | 276 | @item -lxxx |
| 277 | Link your program with dynamic library libxxx.so or static library | 277 | Link your program with dynamic library libxxx.so or static library |
| 278 | libxxx.a. The library is searched in the paths specified by the | 278 | libxxx.a. The library is searched in the paths specified by the |
| 279 | @option{-L} option. | 279 | @option{-L} option and @env{LIBRARY_PATH} variable. |
| 280 | 280 | ||
| 281 | @item -Bdir | 281 | @item -Bdir |
| 282 | Set the path where the tcc internal libraries (and include files) can be | 282 | Set the path where the tcc internal libraries (and include files) can be |
| @@ -361,12 +361,31 @@ Note: GCC options @option{-Ox}, @option{-fx} and @option{-mx} are · 78 unmodified lines | |||
| 361 | ignored. | 361 | ignored. |
| 362 | @c man end | 362 | @c man end |
| 363 | 363 | ||
| 364 | @c man begin ENVIRONMENT | ||
| 365 | Environment variables that affect how tcc operates. | ||
| 366 | |||
| 367 | @table @option | ||
| 368 | |||
| 369 | @item CPATH | ||
| 370 | @item C_INCLUDE_PATH | ||
| 371 | A colon-separated list of directories searched for include files, | ||
| 372 | directories given with @option{-I} are searched first. | ||
| 373 | |||
| 374 | @item LIBRARY_PATH | ||
| 375 | A colon-separated list of directories searched for libraries for the | ||
| 376 | @option{-l} option, directories given with @option{-L} are searched first. | ||
| 377 | |||
| 378 | @end table | ||
| 379 | |||
| 380 | @c man end | ||
| 381 | |||
| 364 | @ignore | 382 | @ignore |
| 365 | 383 | ||
| 366 | @setfilename tcc | 384 | @setfilename tcc |
| 367 | @settitle Tiny C Compiler | 385 | @settitle Tiny C Compiler |
| 368 | 386 | ||
| 369 | @c man begin SEEALSO | 387 | @c man begin SEEALSO |
| 388 | cpp(1), | ||
| 370 | gcc(1) | 389 | gcc(1) |
| 371 | @c man end | 390 | @c man end |
| 372 | 391 | ||
| @@ -702,7 +721,7 @@ They can be defined several times in the same source. Use 'b' · 329 unmodified lines | |||
| 702 | @cindex asciz directive | 721 | @cindex asciz directive |
| 703 | @cindex ascii directive | 722 | @cindex ascii directive |
| 704 | 723 | ||
| 705 | All directives are preceeded by a '.'. The following directives are | 724 | All directives are preceded by a '.'. The following directives are |
| 706 | supported: | 725 | supported: |
| 707 | 726 | ||
| 708 | @itemize | 727 | @itemize |
| @@ -921,7 +940,7 @@ reverse order, a first pass is done to reverse the argument order. · 212 unmodified lines | |||
| 921 | 940 | ||
| 922 | @section Types | 941 | @section Types |
| 923 | 942 | ||
| 924 | The types are stored in a single 'int' variable. It was choosen in the | 943 | The types are stored in a single 'int' variable. It was chosen in the |
| 925 | first stages of development when tcc was much simpler. Now, it may not | 944 | first stages of development when tcc was much simpler. Now, it may not |
| 926 | be the best solution. | 945 | be the best solution. |
| 927 | 946 | ||