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. "-Doptimize=-g" is why Fedora's Perl had -DDEBUGGING on for a long time. $ g describe && git clean -dxqf && ./Configure -des -Dusedevel -Doptimize=-g &> /dev/null && grep DEBUGGING config.sh v5.13.2-245-g9df83ff ccflags='-DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' cppflags='-DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include' $ git describe && git clean -dxqf && ./Configure -des -Doptimize=-g &> /dev/null && grep DEBUGGING config.sh v5.12.1-9-gf3918f4 ccflags='-DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' cppflags='-DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include' $ git describe && git clean -dxqf && ./Configure -des &> /dev/null && grep DEBUGGING config.sh v5.12.1-9-gf3918f4 $ git describe && git clean -dxqf && ./Configure -des -Dusedevel &> /dev/null && grep DEBUGGING config.sh v5.13.2-245-g9df83ff (after the last one above) $ egrep 'cflags|cppflags' config.sh ccflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include' yaccflags='' Which would you prefer to be correct, the documentation or the implementation? -- George GreerThread Previous | Thread Next