Option Type | Default Value | #pragma options | C | C++ |
-qoption | nofullpath | - | x | x |
Syntax
-qfullpath | -qnofullpath
Purpose
Specifies what path information is stored for files when you use -g.
Notes
Using -qfullpath causes the compiler to preserve the absolute (full) path
name of source files specified with the -g option.
The relative path name of files is preserved when you use -qnofullpath.
-qfullpath is useful if the executable file was moved to another directory. If you specified -qnofullpath, the debugger would be unable to find the file unless you provide a search path in the debugger. Using -qfullpath would locate the file successfully.
List of Batch Compiler Options and Their Defaults
Options that Specify Debugging Features
Equivalent Batch Compile-Link and Incremental
Build Options