Re: Building GCC with -g3

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

 



Amittai Aviram <amittai.aviram.0@xxxxxxxxx> writes:

> Hi!  I'm getting really tired of having GDB say "value optimized out" when I am trying to debug GCC library (libgomp) code.  What file do I change, and how, so that libgomp will get built with CFLAGS including -g3?  Or, if I just enter
>
> export CFLAGS=-g3
> make -j
> make -j install
>
> Will that cause -g3 to override the default -g switch?  Thanks!

make -j CFLAGS_FOR_TARGET=-g3

Ian


[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