RPM Community Forums

Mailing List Message of <rpm-devel>

Re: [CVS] RPM: rpm/ CHANGES configure.ac

From: Michael Jennings <mej@kainx.org>
Date: Sat 28 Jul 2007 - 01:27:32 CEST
Message-ID: <20070727232732.GH8987@kainx.org>
On Thursday, 19 July 2007, at 02:51:17 (-0400),
Jeff Johnson wrote:

> Why not -g always? And is -O0 needed/recommended somewhere?

For maximum debugability, I use "-O0 -g3" which prevents optimization
of any kind (as such optimization can, by definition, move things
around and such, invalidating debugging info) and generates
line/symbol info for extra things like macros.

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  <mej@kainx.org>
Linux Server/Cluster Admin, LBL.gov       Author, Eterm (www.eterm.org)
-----------------------------------------------------------------------
 "You know I'd fight for you, but how can I fight someone who isn't
  even there?  I've had the rest of you; now I want the best of you.
  I don't care if that's not fair."        -- O-Town, "All or Nothing"
Received on Sat Jul 28 01:27:34 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.