History

document $CPATH, $C_INCLUDE_PATH, $LIBRARY_PATH

Urs Janssen committed 13 years ago

Commit 243c6991 parent 183b2ab1 file · +22 −3Browse files

Unified · Split

tcc-doc.texi+22−3
@@ -276,7 +276,7 @@ default library paths are @file{/usr/local/lib}, @file{/usr/lib} and @file{/lib} · 275 unmodified lines
276@item -lxxx276@item -lxxx
277Link your program with dynamic library libxxx.so or static library277Link your program with dynamic library libxxx.so or static library
278libxxx.a. The library is searched in the paths specified by the278libxxx.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 -Bdir281@item -Bdir
282Set the path where the tcc internal libraries (and include files) can be282Set 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
361ignored.361ignored.
362@c man end362@c man end
363 363
364@c man begin ENVIRONMENT
365Environment variables that affect how tcc operates.
366
367@table @option
368
369@item CPATH
370@item C_INCLUDE_PATH
371A colon-separated list of directories searched for include files,
372directories given with @option{-I} are searched first.
373
374@item LIBRARY_PATH
375A 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@ignore382@ignore
365 383
366@setfilename tcc384@setfilename tcc
367@settitle Tiny C Compiler385@settitle Tiny C Compiler
368 386
369@c man begin SEEALSO387@c man begin SEEALSO
388cpp(1),
370gcc(1)389gcc(1)
371@c man end390@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 directive721@cindex asciz directive
703@cindex ascii directive722@cindex ascii directive
704 723
705All directives are preceeded by a '.'. The following directives are724All directives are preceded by a '.'. The following directives are
706supported:725supported:
707 726
708@itemize727@itemize
@@ -921,7 +940,7 @@ reverse order, a first pass is done to reverse the argument order. · 212 unmodified lines
921 940
922@section Types941@section Types
923 942
924The types are stored in a single 'int' variable. It was choosen in the943The types are stored in a single 'int' variable. It was chosen in the
925first stages of development when tcc was much simpler. Now, it may not944first stages of development when tcc was much simpler. Now, it may not
926be the best solution.945be the best solution.
927 946

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t