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

Re: How do i compile blead without DEBUGGING?

Thread Previous | Thread Next
From:
demerphq
Date:
July 15, 2010 06:35
Subject:
Re: How do i compile blead without DEBUGGING?
Message ID:
AANLkTilhDHiLBAVwIfvg1YxlqgW-7jH52hpIOICeq_SQ@mail.gmail.com
On 15 July 2010 13:51, Reini Urban <rurban@x-ray.at> wrote:
> 2010/7/13 Nicholas Clark <nick@ccl4.org>:
>> On Mon, Jul 12, 2010 at 06:59:13PM -0400, George Greer wrote:
>>> On Mon, 12 Jul 2010, Rafael Garcia-Suarez wrote:
>>> >On 12 July 2010 14:04, George Greer <perl@greerga.m-l.org> wrote:
>>> >>Configure checks for "-g" in -Doptimize and flips -DDEBUGGING for you
>>> >>automatically.  Try:
>>> >
>>> >This is not what INSTALL says...
>>> >
>>> >=item -DEBUGGING=-g
>>> >
>>> >=item -Doptimize=-g
>>> >
>>> >Adds -g to optimize, but does not set -DDEBUGGING.
>>
>>> Which would you prefer to be correct, the documentation or the
>>> implementation?
>>
>> "Yes".
>>
>> [Neither the question nor the answer are technically useful].
>>
>> Which would *I* prefer to be correct*ed*?
>>
>> The implementation. To match the current documentation. I consider it a
>> misfeature that there are side effects when setting -Doptimize
>
> Me also. This sideeffect is not documented, it already led to a stupid
> problem at fedora
> and I hated it when testing for cygwin what fedora originally wanted:
> provide seperate -debug packages.
> -Doptimize=-g should *NOT* magically turn on -DDEBUGGING

So then what needs to change?

cheers,
yves
-- 
perl -Mre=debug -e "/just|another|perl|hacker/"

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