Syntax

-g

Description

The -g option instructs the linker to propagate debugging information contained in the individual object files into the linked image. If you intend to debug your application at the source level, you must use this option when linking your program.