develooper Front page | perl.perl5.porters | Postings from May 2004

Re: [perl #29591] "Recompile perl with -DDEBUGGING" when -DDEBUGGING enabled

Thread Previous
From:
Dave Mitchell
Date:
May 15, 2004 07:32
Subject:
Re: [perl #29591] "Recompile perl with -DDEBUGGING" when -DDEBUGGING enabled
Message ID:
20040515143724.GB1893@iabyn.com
On Sat, May 15, 2004 at 04:42:55AM -0000, scott @ slowass. net wrote:
>     config_args='-de -Dusedevel -DDEBUGGING'
> 
> ... yet,
> 
> $ perl -D8 scalarrefs.pl
> Recompile perl with -DDEBUGGING to use -D switch (did you mean -d ?)

The -DDEBUGGING is to be added to the ccflags, not to the  config line;
the usual incantation is

    sh Configure -de -Dusedevel -Doptimize='-g'

which turns on -DDEBUGGING as a side-effect.

-- 
Wesley Crusher gets beaten up by his classmates for being a smarmy git,
and consequently has a go at making some friends of his own age for a
change.
    -- Things That Never Happen in "Star Trek" #18

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About