Re: Building libgcc with debug info

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

 



Hi jasonwucj,

I actually see my CFLAGS variables being used as expected, but no
debug information is generated. If I pass CFLAGS=-gstabs I actually do
get debug info, just not with -g. Why won't it produce dwarf debug
information for libgcc?
---
Dan Schatzberg


On Fri, Jul 19, 2013 at 1:39 PM, Chung-Ju Wu <jasonwucj@xxxxxxxxx> wrote:
> 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