I understand that I can turn off compilation with debugging (the -g flag of GCC, for example) by explicitly setting CFLAGS and CXXFLAGS, however it is my opinion that debugging should be off by default and that there should be a "with debugging" flag that can be passed to configure.
This would make things more foolproof for users who compile from source, and then, by default, performance/executable size would not be affected.
(I have not checked whether it is only bleeding edge svn which configures with -g by default.)
configure flag that enables/disables -g
-
- Posts: 1944
- Joined: 2010-08-28T11:16:00-07:00
- Authentication code: 8675308
- Location: Montreal, Canada
Re: configure flag that enables/disables -g
I am not sure about imagemagick, but generally if you install an application with "make install-strip", it should strip out all the debug info.