Re: -O or -g on gcc linker frontend?

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

 



"Charles L. Farbstein" <charles.farbstein@xxxxxxxxxx> writes:

> On Thu, 2006-06-22 at 11:37 -0700, Ian Lance Taylor wrote:

> > The -g and -O options are used only when generating .o files, and are
> > ignored when linking .o files.

> Isn't the -g option used by the linker to put the debug information into
> the executable image or in the shared object library?

No.

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