Ticket #2014 (closed enhancement: fixed)

Opened 6 years ago

Last modified 5 years ago

Switch to more conventional debug build operation

Reported by: hobu Owned by: 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

Changed 6 years ago by mloskot

  • cc mloskot added
  • keywords autoconf configure debug added

Frank & Hobu,

I think I can work on it if you want.

Changed 6 years ago by warmerdam

  • cc warmerdam added; mloskot removed
  • owner changed from warmerdam to mloskot
  • milestone set to 1.5.0

Mateusz,

turning over to you for 1.5.

Changed 5 years ago 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.

Changed 5 years ago 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.

Changed 5 years ago 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.

Note: See TracTickets for help on using tickets.