24.05.2014 Views

XL Fortran Enterprise Edition for AIX : User's Guide - IBM

XL Fortran Enterprise Edition for AIX : User's Guide - IBM

XL Fortran Enterprise Edition for AIX : User's Guide - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

-qfullpath Option<br />

Syntax<br />

-qfullpath | -qnofullpath<br />

Records the full, or absolute, path names of source and include files in object files<br />

compiled with debugging in<strong>for</strong>mation (-g option).<br />

If you need to move an executable file into a different directory be<strong>for</strong>e debugging<br />

it or have multiple versions of the source files and want to ensure that the<br />

debugger uses the original source files, use the -qfullpath option in combination<br />

with the -g option so that source-level debuggers can locate the correct source files.<br />

Defaults<br />

By default, the compiler records the relative path names of the original source file<br />

in each .o file. It may also record relative path names <strong>for</strong> include files.<br />

Restrictions<br />

Although -qfullpath works without the -g option, you cannot do source-level<br />

debugging unless you also specify the -g option.<br />

Examples<br />

In this example, the executable file is moved after being created, but the debugger<br />

can still locate the original source files:<br />

$ xlf95 -g -qfullpath file1.f file2.f file3.f -o debug_version<br />

...<br />

$ mv debug_version $HOME/test_bucket<br />

$ cd $HOME/test_bucket<br />

$ dbx debug_version<br />

Related In<strong>for</strong>mation<br />

See “-g Option” on page 108.<br />

<strong>XL</strong> <strong>Fortran</strong> Compiler-Option Reference 169

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!