User and Reference Guide for the Intel® Fortran Compiler 14.0

Ability to Create Shared Libraries

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

Compiler Option

Library

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

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

See Also


Submit feedback on this help topic