Please use GitHub pull requests for new patches. Avoid migrating existing patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
llvm/docs/CommandGuide/llvm-libtool-darwin.rst
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Lines | .. option:: -h, -help | ||||
Show help and usage for this command. | Show help and usage for this command. | ||||
.. option:: -help-list | .. option:: -help-list | ||||
Show help and usage for this command without grouping the options | Show help and usage for this command without grouping the options | ||||
into categories. | into categories. | ||||
.. option:: -l <x> | |||||
Searches for the library libx.a in the library search path. If the string `<x>` | |||||
ends with '.o', then the library 'x' is searched for without prepending 'lib' | |||||
or appending '.a'. If the library is found, it is added to the list of input | |||||
files. Otherwise, an error is raised. | |||||
.. option:: -L <dir> | |||||
Adds `<dir>` to the list of directories in which to search for libraries. The | |||||
directories are searched in the order in which they are specified with | |||||
:option:`-L` and before the default search path. The default search path | |||||
includes directories `/lib`, `/usr/lib` and `/usr/local/lib`. | |||||
smeenai: Nit: remove the trailing slash on `/lib/` | |||||
.. option:: -o <filename> | .. option:: -o <filename> | ||||
Specify the output file name. Must be specified exactly once. | Specify the output file name. Must be specified exactly once. | ||||
.. option:: -static | .. option:: -static | ||||
Produces a static library from the input files. | Produces a static library from the input files. | ||||
Show All 23 Lines |
Nit: remove the trailing slash on /lib/