Ticket #2014 (closed enhancement: fixed)

Opened 6 months ago

Last modified 5 months ago

Switch to more conventional debug build operation

Reported by: hobu Assigned to: mloskot
Priority: high Milestone: 1.5.0
Component: ConfigBuild Version: unspecified
Severity: normal Keywords: autoconf configure debug
Cc: warmerdam

Description

We should support --enable-debug as an option for turning on -g debug info from configure.

Change History

11/22/07 01:51:18 changed by mloskot

  • keywords set to autoconf configure debug.
  • cc set to mloskot.

Frank & Hobu,

I think I can work on it if you want.

11/22/07 11:55:38 changed by warmerdam

  • owner changed from warmerdam to mloskot.
  • cc changed from mloskot to warmerdam.
  • milestone set to 1.5.0.

Mateusz,

turning over to you for 1.5.

11/29/07 11:11:11 changed by warmerdam

  • priority changed from normal to high.

r13129 (for #1929) broke the old CFG support, so please push ahead with this ticket. Strip out old CFG support and do things more normally.

12/03/07 23:33:31 changed by warmerdam

  • status changed from new to closed.
  • resolution set to fixed.
  • summary changed from --enable-debug and --disable-debug to Switch to more conventional debug build operation.

I have stripped out all the CFG stuff, and modified to operate more normally. The CFLAGS and CXXFLAGS environment variables should be set before running configure to control compiler options. Done in trunk as r13224.

12/04/07 11:59:16 changed by warmerdam

At Andrey's suggestion I have added --enable-debug which will try and strip -O or -O2 off the flags, and add -g -DDEBUG. Committed in r13230.