Re: Building libgcc with debug info

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

 



On 7/19/13 11:32 PM, Dan Schatzberg wrote:
I'm building libgcc from gcc 4.8.1 on RHEL 6.3 on a powerpc64 machine.

I set the CFLAGS environment variable to -g3 at configure and make
time but the produced libgcc does not have any debug info in it. How
do I build libgcc with debug info?

---
Dan Schatzberg


Hi, Dan,

You need to set HOST_LIBGCC2_CFLAGS variable in makefile fragment.
Refer to libgcc/config/TARGET/t-* for more samples.


Best regards,
jasonwucj





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux