Intel® Fortran Compiler 17.0 Developer Guide and Reference

Ability to Create Shared Libraries

You can create a shareable library by using one of the following compiler options.

Compiler Option

Library

-shared (Linux*) mylib.so
/libs:dll (Windows*) mylib.dll
-dynamiclib (OS X*) mylib.dylib

When you use any of these options, do not specify the c option.

See Also