Lahey/Fujitsu Fortran

-[N]STATICLIB

Static or Dynamic Linking of Fortran Runtime Libraries

Link only. Default: -staticlib

Specify -nstaticlib to dynamically link an executable or DLL with the Fortran runtime libraries in DLL form.

Specify -staticlib to statically link the Fortran runtime libraries with your executable or DLL.

Visual Studio Property

The -staticlib option corresponds to the Linker|Static Runtime Libraries property. The -staticlib option is automatically set when the LF Fortran|StaticLibrary project type is selected. It can also be set by selecting StaticLibrary from the LF Fortran|General|Output Type property on the property page for the project only.

See Also

Setting Build Options