Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
libdir
Controls whether linker options for search libraries are included in object files generated by the compiler.
Linux: |
None |
macOS: |
None |
Windows: |
/libdir[:keyword ] /nolibdir |
keyword |
Specifies the linker search options. Possible values are:
|
/libdir:all |
Linker search options for libraries automatically determined by the ifort command driver (default libraries) and libraries specified by the OBJCOMMENT directive are included in the object file. |
This option controls whether linker options for search libraries (/DEFAULTLIB:library) are included in object files generated by the compiler.
The linker option /DEFAULTLIB:library adds one library to the list of libraries that the linker searches when resolving references. A library specified with /DEFAULTLIB:library is searched after libraries specified on the command line and before default libraries named in .obj files.
Visual Studio: Libraries > Disable Default Library Search Rules ( /libdir:[no]automatic)
Libraries > Disable OBJCOMMENT Library Name in Object ( /libdir:[no]user)
/libdir:none |
Linux and macOS: None Windows: /Zl |