develooper Front page | perl.perl5.porters | Postings from July 2010

Re: How do i compile blead without DEBUGGING?

Thread Previous | Thread Next
From:
George Greer
Date:
July 12, 2010 05:04
Subject:
Re: How do i compile blead without DEBUGGING?
Message ID:
alpine.LFD.2.00.1007120803040.10001@ein.m-l.org
On Mon, 12 Jul 2010, demerphq wrote:

> There doesn't seem to be a way to use -Dusedevel and not have DEBUGGING enabled.
>
> I tried:
>
> ./Configure -Doptimize=-g -d -Dusedevel -Dcc=ccache\ gcc -Dld=gcc -Duseithreads
>
> ./Configure -d -Dusedevel -UDEBUGGING -Duseithreads -Dcc=ccache\ gcc -Dld=gcc
>
> And both lead to debugging being enabled.
>
> Is this a configure bug?

Configure checks for "-g" in -Doptimize and flips -DDEBUGGING for you 
automatically.  Try:

./Configure -des -A append:ccflags=' -g3' ...

That worked for me. (The "3" being optional, of course.)

-- 
George Greer

Thread Previous | Thread Next


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