Debugging and emerge

Allen Ziegenfus <[email protected]>
Newsgroups gmane.linux.gentoo.alpha
Message-ID <[email protected]>
I've been trying to pin down some annoying crashes that I've been
experiencing so I've been trying to create debug builds of various
packages. I thought at one point that I could just say USE="debug"
emerge xfce-utils and xfce-utils would get built with debugging symbols.
I'm pretty sure this used to work in the past. 

Now, however, if I do this, -g does not get added to the gcc compile
flags and the executable is stripped. I find that I can only get a debug
build if I manually change the ebuild and add a line that says:

inherit debug

Is this how things should be or is there something wrong with my system?

I've also seen some people talk about a "no strip" flag that can be
added. How is that different from USE="debug"?

Allen

--
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBS6lquXfAcu2nNXkRAnf+AKCt8pwK7saBVaDdZ8Mi9MiBA6PgIgCfYN3a
PZ2MB6/1C3dTCfw+viotK8s=
=/HQT
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.