Use /DLL to identify the output file as a dynamic link library (.DLL file). Compile the object files with the cob2 option -dll.
| /DLL and /EXECUTABLE option syntax |
|---|
|
Default is: /EXECUTABLE
Abbreviation is: /EXEC
If you specify /DLL and /EXEC, only the last specified of these options takes effect.
If you do not specify /DLL or /EXEC, by default the linker produces an .EXE file (/EXEC).