Intel® Fortran Compiler 16.0 User and Reference Guide

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