From: Paul de Vrieze <pauldv@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] fix binary debug support, part elevenity billion 1/2
Date: Tue, 24 Jan 2006 21:25:22 +0100 [thread overview]
Message-ID: <200601242125.29866.pauldv@gentoo.org> (raw)
In-Reply-To: <20060120232541.GB22180@curie-int.vc.shawcable.net>
[-- Attachment #1: Type: text/plain, Size: 1059 bytes --]
On Saturday 21 January 2006 00:25, Robin H. Johnson wrote:
> On Fri, Jan 20, 2006 at 07:10:02AM -0500, Mike Frysinger wrote:
> > that depends, does your code actually have things like
> > #ifdef DEBUG
> > <debug stuff>
> > #endif
>
> And likewise your code should NOT have some logic like the following in
> it's build system.
> if(debug mode)
> ignore user cflags and use our own cracked out cflags
>
> I've seen an upstream configure script where if you tell it you want
> debug mode, the only thing it does is force CFLAGS to '-O -march=i386'
> and not strip the binaries itself - this of course failed dismally when
> you tried to enable debugging on non-x86 platforms.
Actually kde (and as such most kde apps) does all kinds of awkward stuff in
it's configure script too with respect to adding the "--enable-debug" flag.
Although it mostly involves making the compiler extremely noisy, and forcing
in "-g" flags.
Paul
--
Paul de Vrieze
Gentoo Developer
Mail: pauldv@gentoo.org
Homepage: http://www.devrieze.net
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2006-01-24 20:29 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-15 6:11 [gentoo-dev] fix binary debug support, part elevenity billion Mike Frysinger
2006-01-15 6:19 ` Joshua Baergen
2006-01-15 7:19 ` Mike Frysinger
2006-01-15 11:52 ` Henrik Brix Andersen
2006-01-15 12:12 ` Mike Frysinger
2006-01-15 15:33 ` Olivier Crête
2006-01-17 15:11 ` Richard Fish
2006-01-17 16:12 ` Mike Frysinger
2006-01-17 16:51 ` Olivier Crete
2006-01-17 17:03 ` Diego 'Flameeyes' Pettenò
2006-01-17 18:01 ` Olivier Crete
2006-01-19 3:03 ` [gentoo-dev] " R Hill
2006-01-15 18:25 ` [gentoo-dev] " Dan Meltzer
2006-01-15 22:28 ` Mike Frysinger
2006-01-19 22:56 ` [gentoo-dev] fix binary debug support, part elevenity billion 1/2 Mike Frysinger
2006-01-19 23:17 ` Olivier Crete
2006-01-19 23:26 ` Henrik Brix Andersen
2006-01-20 0:15 ` Danny van Dyk
2006-01-20 0:32 ` Mike Frysinger
2006-01-19 23:25 ` Henrik Brix Andersen
2006-01-19 23:33 ` solar
2006-01-19 23:52 ` Mark Loeser
2006-01-20 0:28 ` Mike Frysinger
2006-01-20 8:09 ` Kevin F. Quinn (Gentoo)
2006-01-20 0:30 ` Mike Frysinger
2006-01-20 7:52 ` Kevin F. Quinn (Gentoo)
2006-01-20 3:24 ` Donnie Berkholz
2006-01-20 3:40 ` Ciaran McCreesh
2006-01-20 6:25 ` Harald van Dijk
2006-01-20 12:10 ` Mike Frysinger
2006-01-20 13:53 ` Harald van Dijk
2006-01-20 23:25 ` Robin H. Johnson
2006-01-24 20:25 ` Paul de Vrieze [this message]
2006-01-22 4:12 ` Marius Mauch
2006-01-22 19:45 ` Mike Frysinger
2006-01-22 21:30 ` Marius Mauch
2006-01-22 20:50 ` Mike Frysinger
2006-01-23 1:12 ` Donnie Berkholz
2006-01-23 18:28 ` "Environement categories" (was Re: [gentoo-dev] fix binary debug support, part elevenity billion 1/2) Danny van Dyk
2006-01-23 19:44 ` Mike Frysinger
2006-01-24 6:44 ` Brian Harring
2006-01-25 1:06 ` Mike Frysinger
2006-01-25 7:26 ` Brian Harring
2006-01-29 14:40 ` Mike Frysinger
2006-01-24 22:56 ` [gentoo-dev] fix binary debug support, part elevenity billion Donnie Berkholz
2006-01-25 1:04 ` Mike Frysinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200601242125.29866.pauldv@gentoo.org \
--to=pauldv@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox