-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Graham Murray wrote:
> "A. Khattri" <[EMAIL PROTECTED]> writes:
> 
> 
>>You can switch off the stripping by setting the nostrip variable in the
>>FEATURES variable in /etc/make.conf.
> 
> 
> The problem with that is that it is global. Setting 'nostrip' is
> something that is probably wanted on a per-package basis more often
> than as a global option. I think that setting the 'debug' USE flag for
> a package should, where this causes the package to generate debugging
> info, automatically select 'nostrip' for that package.

I have the following in my .bashrc:

alias debug="USE='debug' FEATURES='nostrip' CFLAGS='-ggdb3' CXXFLAGS='-ggdb3'"

Then you can just do:

$ debug emerge foo

Cheers
- --
Muney is a pooerffool ephrudeesiec.  Boot flooers vurk elmust es vell.
Bork Bork Bork!
                -- Lezeroos Lung

Aaron Walker <[EMAIL PROTECTED]>
[ BSD | cron | forensics | shell-tools | commonbox | netmon | vim | web-apps ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCSoM/C3poscuANHARAgOCAJ9jjMGRkuNnnZ4f3+qj1bXqLxd7YQCg5mLT
IJ9F5R20gEpnO2e6++26uOU=
=Qlfl
-----END PGP SIGNATURE-----

--
gentoo-user@gentoo.org mailing list

Reply via email to