Gentoo Archives: gentoo-dev

From: "Kevin F. Quinn (Gentoo)" <kevquinn@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] fix binary debug support, part elevenity billion 1/2
Date: Fri, 20 Jan 2006 07:50:28
Message-Id: 20060120085224.45fb7ec8@c1358217.kevquinn.com
In Reply to: Re: [gentoo-dev] fix binary debug support, part elevenity billion 1/2 by solar
1 On Thu, 19 Jan 2006 18:33:02 -0500
2 solar <solar@g.o> wrote:
3
4 > On Thu, 2006-01-19 at 17:56 -0500, Mike Frysinger wrote:
5 > DEBUG_CFLAGS=DEBUG_CXXFLAGS="-O -g"
6 >
7 > Mike,
8 > how about
9 > DEBUG_CFLAGS=DEBUG_CXXFLAGS="-O -g -fno-stack-protector -fno-pie"
10
11 It's enough to do LDFLAGS="-nopie" to get debuggable executables, which
12 might be better as it'd keep code closer to the non-debug code.
13
14 --
15 Kevin F. Quinn

Attachments

File name MIME type
signature.asc application/pgp-signature