Re: Debug info in RPMs
- From: o_george postoffice utas edu au
- To: Elliot Lee <sopwith redhat com>
- CC: gnome-devel-list gnome org
- Subject: Re: Debug info in RPMs
- Date: Sun, 26 Sep 1999 10:36:55 +0800
Elliot Lee wrote:
>
> On 25 Sep 1999 08:00:47 -0400, Andres Rodriguez <andresrc@arrakis.es> 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
------------------
#!/bin/bash
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]