#2014 closed enhancement (fixed)
Switch to more conventional debug build operation
Reported by: | hobu | Owned by: | Mateusz Łoskot |
---|---|---|---|
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 (5)
comment:1 by , 16 years ago
Cc: | added |
---|---|
Keywords: | autoconf configure debug added |
comment:2 by , 16 years ago
Cc: | added; removed |
---|---|
Milestone: | → 1.5.0 |
Owner: | changed from | to
Mateusz,
turning over to you for 1.5.
comment:3 by , 16 years ago
Priority: | normal → high |
---|
comment:4 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Summary: | --enable-debug and --disable-debug → 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.
comment:5 by , 16 years ago
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.
Frank & Hobu,
I think I can work on it if you want.