Lahey/GNU Fortran

-[n]g

Debug

Compile and link. Default: -ng

GFortran option: -ggdb

Specify -g to instruct the compiler to generate an expanded symbol table and other information for the debugger. -g is required to use the debugger.

This option is required to debug if a separate link is performed.