-----BEGIN PGP SIGNED MESSAGE-----

Moin Nicholas,

On Sunday 28 November 2004 15:56, Nicholas Clark wrote:
> 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.

I didn't actually look at smoke test's output, I just read the warning from 
Devel::Leak and worked from that :o)

> > 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.

Cool, I'll try that next.

Best wishes,

Tels

- -- 
 Signed on Sun Nov 28 16:11:45 2004 with key 0x93B84C15.
 Visit my photo gallery at http://bloodgate.com/photos/
 PGP key on http://bloodgate.com/tels.asc or per email.

 "Man, I'm hot." - "Thirsty?" - "No, I mean good looking."

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iQEVAwUBQanq8HcLPEOTuEwVAQH76wf+NQH+bvAcOGbTFZ4Dh3U+X2xiaYBUCQLt
TDpBU4OMQfx4dq1UbSe9tHuZ7mBVf7OCryA+curMhZ/6xaTuF8owI/rCLyhZlX/U
2i1o+IrLf476uRaK62VRMA39cg0kGg6jE7pFPdURzOxcAeVcx570VbTyEZuqeUx+
iqZT5qqJADcAvf8b9vmyM5CXfmOzPBM0du77PWEbf7Jj99cK9jJ5ggxriddVWH0p
CHgMhKGEWD8W4hSlVoxBgXVzRncKTZAql0v12GmZK7JeZfJHVKvZTX7ry/5iDdcY
TtlA5lFnAkEvBWFWam+4Y4dQc542k2sI+2TYx+cDuDzToAWCkMMcAA==
=6wFn
-----END PGP SIGNATURE-----

Reply via email to