document the -L option and $ccroot Reference: /n/sources/patch/applied/8l-man-l Date: Thu Mar 7 15:17:28 CET 2013 Signed-off-by: charles.forsyth@gmail.com --- /sys/man/1/8l Thu Mar 7 15:16:45 2013 +++ /sys/man/1/8l Thu Mar 7 15:16:43 2013 @@ -35,6 +35,11 @@ .BR 386 , etc. as listed in .IR 8c (1). +If the environment variable +.B ccroot +is defined, the library is sought in +.BR $ccroot/$objtype/lib +instead. The libraries must have tables of contents (see .IR ar (1)). @@ -201,6 +206,17 @@ (if .I r is nonzero). +.TP +.BI -L dir +For a library reference +.BI -l ext, +search +.I dir +before looking in the standard library directory. +If more than one +.B -L +option is given, +directories will be searched in order of appearance. .PP The numbers in the above options can begin with .L 0x