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

ID 767251
Date 11/07/2023
Public

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

Document Table of Contents

gdwarf

Lets you specify a DWARF Version format when generating debug information.

Syntax

Linux:

-gdwarf-n

Windows:

None

Arguments

n

Is a value denoting the DWARF Version format to use. Possible values are:

2

Generates debug information using the DWARF Version 2 format.

3

Generates debug information using the DWARF Version 3 format.

4

Generates debug information using the DWARF Version 4 format.

5

Generates debug information using the DWARF Version 5 format.

Default

OFF

No debug information is generated. However, if compiler option -g is specified, debugging information is generated in the DWARF Version 4 format.

Description

This option lets you specify a DWARF Version format when generating debug information.

Note that older versions of some analysis tools may require applications to be built with the -gdwarf-2 option to ensure correct operation.

IDE Equivalent

None

Alternate Options

None

See Also