-NoDebugInfo: Do not Generate Debug Information

Group

OUTPUT

Scope

None

Syntax
  -NoDebugInfo 
  
Arguments

None

Default

None

Defines

None

Pragmas

None

Description

The compiler generates debug information by default. Use this option to prevent generation of debug information.

Note: To generate an application without debug information in ELF, the linker provides an option to strip the debug information. By calling the linker twice, you can generate two versions of the application: one with and one without debug information. Use this compiler option only if object files or libraries are to be distributed without debug info.
Note: This option does not affect the generated code. Only the debug information is excluded.
See also

Compiler options:

-F (-Fh, -F1, -F1o, -F2, -F2o,-F6, or -F7): Object-File Format

-NoPath: Strip Path Info