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

ID 767251
Date 7/13/2023
Public

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

Document Table of Contents

dynamiclib

Invokes the libtool command to generate dynamic libraries. This feature is only available for ifort.

Syntax

Linux:

None

macOS:

-dynamiclib

Windows:

None

Arguments

None

Default

OFF

The compiler produces an executable.

Description

This option invokes the libtool command to generate dynamic libraries.

When passed this option, the compiler uses the libtool command to produce a dynamic library instead of an executable when linking.

To build static libraries, you should specify option -staticlib or libtool -static <objects>.

IDE Equivalent

None

Alternate Options

None

See Also