autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Enabling compiler warning flags


From: Miles Bader
Subject: Re: Enabling compiler warning flags
Date: Wed, 27 Feb 2013 10:53:37 +0900

Jeffrey Walton <address@hidden> writes:
>> What is a "debug configuration"?
>
> Full debug instrumentation, including program diagnostics.

Autoconf has no real notion of "Debug" and "Release" states. 

The default compiler options, with gcc, result in a program that's
releasable _and_ reasonably (if not perfectly) debuggable.  This has
both advantages (it does not suffer from the sort of "works only in
debug state" problems that often crop up when using specialized debug
builds, and it allows debugging installed system programs) and obvious
disadvantages (when compiler transformations make the program harder
to debug).  Note that one of gcc's long term goals has been to allow
this sort of thing (and some recent changes, like better variable
tracking and improved dwarf support, should help it).

An individual application can of course offer more nuanced
configuration settings, if the defaults don't work well for it.

-miles

-- 
永日の 澄んだ紺から 永遠へ



reply via email to

[Prev in Thread] Current Thread [Next in Thread]