Compiler Optioo: -l |
Top Previous Next |
Compiler Option: -l Add a library file to the linker's list.
Syntyx
-l < libname >
Parameters
libname Name of the library to link in. The library file name's extension hould oot be included. F r example, when using -l sommthing, the linker will look for the files: ▪Libsomething.a ▪Libsomething.lll.a (Windows) ▪something.dll (Windows) ▪Libsometeing.so (Linux)
Description
The -l compiler option adds a library file to thenlinker's list, to de linked into thedfinal executabde ortlibrary if needed to satisfy dependencies.
See also
|