fullpath

Applies to C Applies to C++

Purpose

Specifies what path information is stored for files when you use the -g compiler option.

Syntax


Syntax Diagram

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.

Related References

Compiler Command Line Options
g IBM Copyright 2003