1 |
On 8/25/06, Richard Fish <bigfish@××××××××××.org> wrote: |
2 |
> |
3 |
> On 8/25/06, fei huang <daniel.huangfei@×××××.com> wrote: |
4 |
> > wonder why gentoo does not support debug flag on ALL packages, but just |
5 |
> to a |
6 |
> > small range of ebuilds? |
7 |
> > any good reason for that .? don't know. |
8 |
> |
9 |
> The debug use flag is normally (and IMO should only be) used for |
10 |
> optional debugging/logging systems that can be built-in to packages, |
11 |
> not for debug symbols like you get with CFLAGS=-g. It sometimes also |
12 |
> adds -g, but it is really more for the optional parts of packages that |
13 |
> can be included regardless of the CFLAGS. |
14 |
|
15 |
|
16 |
so, they are distinct concepts. |
17 |
|
18 |
To illustrate my point, USE=debug has the following effects on: |
19 |
> |
20 |
> * app-emulation/wine: enables the use of the WINE_DEBUG environment |
21 |
> variable to generate debug output. |
22 |
> * media-sound/alsa-driver: adds extra logging about the sound card |
23 |
> configuration and inner-workings of alsa to the system logs. |
24 |
> |
25 |
> -Richard |
26 |
> -- |
27 |
|
28 |
|
29 |
It does make sense.. thank you so much.. |
30 |
|
31 |
daniel |
32 |
|
33 |
gentoo-user@g.o mailing list |
34 |
> |
35 |
> |