Skip to main content

IAR Embedded Workbench for RISC-V 3.40

‑‑use_paths_as_written

In this section:
Syntax
‑‑use_paths_as_written
Description

By default, the compiler ensures that all paths in the debug information are absolute, even if not originally specified that way.

If you use this option, paths that were originally specified as relative will be relative in the debug information.

The paths affected by this option are:

  • the paths to source files

  • the paths to header files that are found using an include path that was specified as relative

Caution

To set this option, use Project>Options>C/C++ Compiler>Extra Options.