Re: Debug info in RPMs

Elliot Lee wrote:
> On 25 Sep 1999 08:00:47 -0400, Andres Rodriguez <> wrote:
> >Is there anyway to do wha I want to or do I have to throw rpm away and
> >use tarballs?
> Edit /etc/rpmrc to have the line
> optflags: i386 -g
> See /usr/lib/rpm/rpmrc for more examples, or read the RPM book.

Funnily enough I was asking the same question to myself yesterday...
here was my solution

real-gcc -g "$@"

I renamed gcc to real-gcc and put this in its place.  I did the same for
g++ as well.

I've never done much debugging and I wanted to get into it.  Could
someone slap me if this is flawed or if there is a better way.

just my 2c

Thanks, Oliver.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]