[fpc-devel] which compile cmmand line switches imply debug info?

Martin lazarus at mfriebe.de
Sat Sep 17 11:58:19 CEST 2011


Before I go and test each of them myself, maybe someone already has the 
answer?

if using swithches like -gl (lineinfo)   -gh (heaptrc)   -gv (valgrind)  
-pg (GProf)

do they automatically add debug info (stabs if no other specified)?
or do only the -g? do that


For lineinfo, I assume yes, since the unit has nothing to report on if not.

heaptrc could live without, couldn't it?

-pg isn't even a -g switch....



More information about the fpc-devel mailing list