Unified · Split
| @@ -276,7 +276,7 @@ default library paths are @file{/usr/local/lib}, @file{/usr/lib} and @file{/lib} · 275 unmodified lines | ||
| 276 | 276 | @item -lxxx |
| 277 | 277 | Link your program with dynamic library libxxx.so or static library |
| 278 | 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 | 281 | @item -Bdir |
| 282 | 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 | 361 | ignored. |
| 362 | 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 | 382 | @ignore |
| 365 | 383 | |
| 366 | 384 | @setfilename tcc |
| 367 | 385 | @settitle Tiny C Compiler |
| 368 | 386 | |
| 369 | 387 | @c man begin SEEALSO |
| 388 | +cpp(1), | |
| 370 | 389 | gcc(1) |
| 371 | 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 | 721 | @cindex asciz directive |
| 703 | 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 | 725 | supported: |
| 707 | 726 | |
| 708 | 727 | @itemize |
| @@ -921,7 +940,7 @@ reverse order, a first pass is done to reverse the argument order. · 212 unmodified lines | ||
| 921 | 940 | |
| 922 | 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 | 944 | first stages of development when tcc was much simpler. Now, it may not |
| 926 | 945 | be the best solution. |
| 927 | 946 | |