On Sun, Nov 28, 2004 at 03:07:51PM +0100, Tels wrote: > trying (for the first time) to compile a Perl with debugging for Devel::Leak: > > ./configure -Dusedevel -DDEBUGGING
The output from the smoke tests isn't exactly informative of how you really get it enabled. > Do I need to do something special to get a debugging Perl? And where would I > find out how? Try either -Doptimize=-g which will both turn on debugging info at the C code level, and enable the C pre-processor symbol DEBUGGING which compiles in perl's debugging code or -Accflags=-DDEBUGGING which will just do the later. (So you'll get the default optimised build, but with perl's debugging code too. Nicholas Clark
