Doug MacEachern wrote:
> On Tue, 18 Jun 2002, Stas Bekman wrote:
>
>
>>1)
>>with bleadperl 17278 on linux I get loads of:
>>WARNING: LDDLFLAGS is not a known parameter.
>>
>>a new MakeMaker issue?
>
>
> argh, yes. please report to p5p.
Thanks for the patch.
>>---
>>
>>2)
>>with MP_DEBUG=1 and
>>% perl5.8.0 -V:ccflags -V:optimize
>>ccflags='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing
>>-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
>>-I/usr/include/gdbm';
>>optimize='-g';
>>
>>I wasn't getting -g in CCOPTS, I've tried to fix it, not sure if this
>>breaks other things. also started using perl_config_optimize(), which
>>wasn't used before, but apparently designed for this need.
>
>
> i don't see this problem. i will look at your patch a bit more later.
it's fine now with your fixes. Thanks.
>>finally would it make any easier to debug if we add -O0 with
>>-MP_DEBUG=1?
>
> i don't think we should add anything, but perhaps leave out
> $Config{optimize} if it =~ /-O\d/
I cannot see this in gcc manpages, but I don't think -g implies -O0, and
I believe that some optimizations still happen since when working with
gdb, in some places I can still see the sp not following the source code
exactly. So I though may be adding -O0 should help. But this should be
done while compiling Perl, right? And mod_perl will just pick those up.
There are also things like -ggdb, -gdwarf which are supposed to do cool
things, which I'm going to try once I get gcc3.1. macro expensions, yay!
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]