Gentoo Archives: gentoo-user

From: qfpvajdy <qfpvajdy@×××××××××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] How can I emerge a program with debugging options?
Date: Mon, 15 Jan 2007 09:15:40
Message-Id: 20070115091346.2E048BABC508D@smtp.trashmail.net
1 Hello,
2
3
4
5 I would like to emerge a program with debugging options CFLAGS="-g" and without strip at the end of the build.
6
7 I know that I could do this:
8
9 $ export CFLAGS="-g"; emerge mypackage
10
11
12
13 But then it strip at the end the binary file (/usr/bin/strip) and I loss my debugging symbols in the binary file of the package.
14
15
16
17 Does somebody knows how I could do this by an easy way?
18
19 I had already the idea to rename the program /usr/bin/strip in /usr/bin/strip.old, but this is a little ugly! :-)
20
21
22 --
23 E-Mail sent with anti-spam site TrashMail.net!
24 Free disposable email addresses: http://www.trashmail.net/
25 --
26 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] How can I emerge a program with debugging options? Dirk Heinrichs <ext-dirk.heinrichs@×××××.com>
Re: [gentoo-user] How can I emerge a program with debugging options? Michal 'vorner' Vaner <michal.vaner@×××××××.net>
Re: [gentoo-user] How can I emerge a program with debugging options? Pawel Kraszewski <Gentoo@××××××××××.net>
Re: [gentoo-user] How can I emerge a program with debugging options? Benno Schulenberg <benno.schulenberg@×××××.com>
Re: [gentoo-user] How can I emerge a program with debugging options? Iain Buchanan <iaindb@××××××××××××.au>