Re: Building GCC with the -g option

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

 



Amittai Aviram <amittai.aviram@xxxxxxxx> writes:

> Suppose I wish to build GCC with debug information.  Where and how should I add the "-g" option?  Should I add this to some file before running configure, or after?  Thanks!

If you build gcc, it will normally be built with -g.

If you want to build without -O2, set BOOT_CFLAGS as described in the
installation instructions http://gcc.gnu.org/install .

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