Gentoo Archives: gentoo-alpha

From: Allen Ziegenfus <listmail@××××××.net>
To: gentoo-alpha@l.g.o
Subject: [gentoo-alpha] Debugging and emerge
Date: Sat, 18 Sep 2004 03:20:25
Message-Id: 20040917232007.1b7a31ab.listmail@allenz.net
1 I've been trying to pin down some annoying crashes that I've been
2 experiencing so I've been trying to create debug builds of various
3 packages. I thought at one point that I could just say USE="debug"
4 emerge xfce-utils and xfce-utils would get built with debugging symbols.
5 I'm pretty sure this used to work in the past.
6
7 Now, however, if I do this, -g does not get added to the gcc compile
8 flags and the executable is stripped. I find that I can only get a debug
9 build if I manually change the ebuild and add a line that says:
10
11 inherit debug
12
13 Is this how things should be or is there something wrong with my system?
14
15 I've also seen some people talk about a "no strip" flag that can be
16 added. How is that different from USE="debug"?
17
18 Allen
19
20 --

Replies

Subject Author
Re: [gentoo-alpha] Debugging and emerge "Bryan Østergaard" <kloeri@g.o>