Gentoo Archives: gentoo-user

From: Dirk Heinrichs <ext-dirk.heinrichs@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How can I emerge a program with debugging options?
Date: Mon, 15 Jan 2007 09:29:02
Message-Id: 200701151018.30311.ext-dirk.heinrichs@nokia.com
In Reply to: [gentoo-user] How can I emerge a program with debugging options? by qfpvajdy
1 Am Montag, 15. Januar 2007 10:13 schrieb ext qfpvajdy:
2
3 > I would like to emerge a program with debugging options CFLAGS="-g" and
4 > without strip at the end of the build. I know that I could do this:
5 > $ export CFLAGS="-g"; emerge mypackage
6 >
7 > But then it strip at the end the binary file (/usr/bin/strip) and I loss
8 > my debugging symbols in the binary file of the package.
9 >
10 > Does somebody knows how I could do this by an easy way?
11
12 Put FEATURES="nostrip" into /etc/make.conf.
13
14 Bye...
15
16 Dirk
17 --
18 Dirk Heinrichs | Tel: +49 (0)162 234 3408
19 Configuration Manager | Fax: +49 (0)211 47068 111
20 Capgemini Deutschland | Mail: dirk.heinrichs@×××××××××.com
21 Hambornerstraße 55 | Web: http://www.capgemini.com
22 D-40472 Düsseldorf | ICQ#: 110037733
23 GPG Public Key C2E467BB | Keyserver: www.keyserver.net