cxxlib

Determines whether the compiler links using the C++ run-time libraries provided by gcc.

Syntax

Linux:

-cxxlib

-no-cxxlib

macOS:

-cxxlib

-no-cxxlib

Windows:

None

Arguments

None

Default

-no-cxxlib

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

Description

This option determines whether the compiler links to the standard C++ run-time 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