Syntax:
The /link option (without specifying options) precedes options to be passed to the linker as is (see Linker Options and Related Information). You can also specify the options to be passed to the linker as is using the form: /link:options.
To specify additional libraries to be linked on the command line, specify the library name on the DF command line either before or after the /link option, but the Linker option /nodefaultlib must follow the /link option:
DF /compiler-options filename.f90 mylib.lib /link /nodefaultlib
In the visual development environment, you can specify linker options using the Linker tab in the Project menu Settings dialog box. For example, to specify additional libraries to be linked in the visual development environment:
The /nolink option suppresses linking and forces an object file to be produced even if only one program is compiled. Any options specified after the /nolink option are ignored.
If you encounter linker errors, see Linker Diagnostic Messages and Error Conditions.