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

ID 767251
Date 3/22/2024
Public
Document Table of Contents

cxxlib

Determines whether the compiler links using the C++ runtime libraries provided by gcc.

Syntax

Linux:

-cxxlib

-no-cxxlib

Windows:

None

Arguments

None

Default

-no-cxxlib

The compiler uses the default runtime libraries and does not link to any additional C++ runtime libraries.

Description

This option determines whether the compiler links to the standard C++ runtime library (libstdc++). It is useful for building mixed Fortran/C++ applications.

Option -cxxlib=dir can be used with option -gcc-name=name to specify the location dir/bin/name.

IDE Equivalent

None

Alternate Options

None

See Also