Re: Debug info in RPMs



o_george@postoffice.utas.edu.au wrote:
> 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.

alias gcc "gcc -g"

:-)

Andrew Clausen



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