On Mon, 12 Jul 2010 13:59:21 +0200, demerphq <demerphq@gmail.com> 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? What about $ ./Configure -Dusedevel -DEBUGGING=none -des ... : : $ grep -i -e debug -e ccflags -e -g config.sh | cut -c1-72 config_args='-Dusedevel -DEBUGGING=none -des' config_arg2='-DEBUGGING=none' ccflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/inclu ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' extensions='attributes B Compress/Raw/Bzip2 Compress/Raw/Zlib Cwd Data/D nonxs_ext='Archive/Extract Archive/Tar Attribute/Handlers autodie AutoLo perl_patchlevel='v5.13.3-159-g15b9d41' version_patchlevel_string='version 13 subversion 3 patch v5.13.3-159-g15 yaccflags='' PERL_PATCHLEVEL='v5.13.3-159-g15b9d41' $ grep -- '-[Og]' config.sh lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector' optimize='-O2' perl_patchlevel='v5.13.3-159-g15b9d41' version_patchlevel_string='version 13 subversion 3 patch v5.13.3-159-g15b9d41' PERL_PATCHLEVEL='v5.13.3-159-g15b9d41' I see no debugging in there as described in INSTALL =item -DEBUGGING=none =item -UDEBUGGING Removes -g from optimize, and -DDEBUGGING from ccflags. If it doesn't, it is a bug in Configure I have to fix. I did read the rest of the thread and am still not seeing what should be changed -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using 5.00307 through 5.12 and porting perl5.13.x on HP-UX 10.20, 11.00, 11.11, 11.23, and 11.31, OpenSuSE 10.3, 11.0, and 11.1, AIX 5.2 and 5.3. http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/Thread Previous | Thread Next