1FIND_LIBS(1) General Commands Manual FIND_LIBS(1)
2
3
4
6 find_libs - find pathnames of libraries
7
9 find_libs [ -Lpath ... ][ -lname ... ]
10 find_libs -Help
11 find_libs -VERSion
12
14 The find_libs program is used to find the actual pathname of a library
15 specified on a cc(1) command line. This allows cook(1) to know these
16 dependencies.
17
19 The following options are understood.
20
21 -Lpath
22 Specify a path to search for libraries on. If more than one
23 is specified, they will be scanned in the order given before
24 the standard /usr/lib and /lib places. This is like the same
25 argument to cc(1), and the usual find_libs option abbreviation
26 rules do not apply.
27
28 -lname
29 Name a library to be searched for. This is like the same
30 argument to cc(1), and the usual find_libs option abbreviation
31 rules do not apply.
32
33 -Help
34 Give some information on how to use the find_libs command.
35
36 -VERSion
37 Tell the version of the find_libs command currently executing.
38
39 All other options will result in a diagnostic error.
40
41 All options may be abbreviated; the abbreviation is documented as the
42 upper case letters, all lower case letters and underscores (_) are
43 optional. You must use consecutive sequences of optional letters.
44
45 All options are case insensitive, you may type them in upper case or
46 lower case or a combination of both, case is not important.
47
48 For example: the arguments "-help", "-HEL" and "-h" are all
49 interpreted to mean the -Help option. The argument "-hlp" will not be
50 understood, because consecutive optional characters were not supplied.
51
52 Options and other command line arguments may be mixed arbitrarily on
53 the command line.
54
55 The GNU long option names are understood. Since all option names for
56 find_libs are long, this means ignoring the extra leading '-'. The
57 "--option=value" convention is also understood.
58
60 The find_libs command will exit with a status of 1 on any error. The
61 find_libs command will only exit with a status of 0 if there are no
62 errors.
63
65 find_libs version 2.30
66 Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996,
67 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Peter
68 Miller; All rights reserved.
69
70 The find_libs program comes with ABSOLUTELY NO WARRANTY; for details
71 use the 'find_libs -VERSion License' command. This is free software
72 and you are welcome to redistribute it under certain conditions; for
73 details use the 'find_libs -VERSion License' command.
74
76 Peter Miller E-Mail: millerp@canb.auug.org.au
77 /\/\* WWW: http://www.canb.auug.org.au/~millerp/
78
79
80
81Reference Manual Cook FIND_LIBS(1)