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

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

Thread Previous
Dave Mitchell
May 15, 2004 07:32
Re: [perl #29591] "Recompile perl with -DDEBUGGING" when -DDEBUGGING enabled
Message ID:
On Sat, May 15, 2004 at 04:42:55AM -0000, scott @ slowass. net wrote:
>     config_args='-de -Dusedevel -DDEBUGGING'
> ... yet,
> $ perl -D8
> 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
    -- Things That Never Happen in "Star Trek" #18

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About