-O or -g on gcc linker frontend?
Ian Lance Taylor
iant@google.com
Thu Jun 22 20:02:00 GMT 2006
"Charles L. Farbstein" <charles.farbstein@L-3Com.com> 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
More information about the Gcc-help
mailing list