diff options
| author | Urs Janssen <urs@hq.tin.org> | 2013-02-20 14:23:44 +0100 |
|---|---|---|
| committer | Urs Janssen <urs@hq.tin.org> | 2013-02-20 14:23:44 +0100 |
| commit | 243c6990095caee681fe334099a822de7a23e007 (patch) | |
| tree | 027b7bf0ad9f0044f644f7f251dbc30f2234e8a2 /tcc-doc.texi | |
| parent | 183b2ab14cf223d744f1ee5c32653f2e71852f5d (diff) | |
| download | tinycc-243c6990095caee681fe334099a822de7a23e007.tar.gz tinycc-243c6990095caee681fe334099a822de7a23e007.tar.bz2 | |
document $CPATH, $C_INCLUDE_PATH, $LIBRARY_PATH
Diffstat (limited to 'tcc-doc.texi')
| -rw-r--r-- | tcc-doc.texi | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/tcc-doc.texi b/tcc-doc.texi index 96e7a28..dbfbb4a 100644 --- a/tcc-doc.texi +++ b/tcc-doc.texi @@ -276,7 +276,7 @@ default library paths are @file{/usr/local/lib}, @file{/usr/lib} and @file{/lib} @item -lxxx Link your program with dynamic library libxxx.so or static library libxxx.a. The library is searched in the paths specified by the -@option{-L} option. +@option{-L} option and @env{LIBRARY_PATH} variable. @item -Bdir 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 ignored. @c man end +@c man begin ENVIRONMENT +Environment variables that affect how tcc operates. + +@table @option + +@item CPATH +@item C_INCLUDE_PATH +A colon-separated list of directories searched for include files, +directories given with @option{-I} are searched first. + +@item LIBRARY_PATH +A colon-separated list of directories searched for libraries for the +@option{-l} option, directories given with @option{-L} are searched first. + +@end table + +@c man end + @ignore @setfilename tcc @settitle Tiny C Compiler @c man begin SEEALSO +cpp(1), gcc(1) @c man end @@ -702,7 +721,7 @@ They can be defined several times in the same source. Use 'b' @cindex asciz directive @cindex ascii directive -All directives are preceeded by a '.'. The following directives are +All directives are preceded by a '.'. The following directives are supported: @itemize @@ -921,7 +940,7 @@ reverse order, a first pass is done to reverse the argument order. @section Types -The types are stored in a single 'int' variable. It was choosen in the +The types are stored in a single 'int' variable. It was chosen in the first stages of development when tcc was much simpler. Now, it may not be the best solution. |
