Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 9/08/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

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 (macOS) mylib.dylib

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