On 8/25/06, Richard Fish <[EMAIL PROTECTED]> wrote:
On 8/25/06, fei huang <[EMAIL PROTECTED]> wrote:
> wonder why gentoo does not support debug flag on ALL packages, but just to a
> small range of ebuilds?
> any good reason for that .?  don't know.

The debug use flag is normally (and IMO should only be) used for
optional debugging/logging systems that can be built-in to packages,
not for debug symbols like you get with CFLAGS=-g.  It sometimes also
adds -g, but it is really more for the optional parts of packages that
can be included regardless of the CFLAGS.

so, they are distinct concepts.

To illustrate my point, USE=debug has the following effects on:

* app-emulation/wine: enables the use of the WINE_DEBUG environment
variable to generate debug output.
* media-sound/alsa-driver: adds extra logging about the sound card
configuration and inner-workings of alsa to the system logs.

-Richard
--

It does make sense.. thank you so much..

daniel

gentoo-user@gentoo.org mailing list


Reply via email to