Compiling without -g
Jeffrey A Law
law@cygnus.com
Fri Jan 23 21:57:00 GMT 1998
In message < 199801222344.SAA11529@altera.gaithersburg.md.us >you write:
> Here's what happens under redhat 5.0. I configure with CFLAGS=-O and
> run "make" with CFLAGS=-O. As soon as the bootstrap starts in the
> gcc/ directory, a -g appears in the compiler arguments and the -O is
> gone.
The first stage compiler is built with just "-g" for debugging
purposes.
If you want to pass arguments to the first stage build of gcc use
BOOT_CFLAGS=
jeff
More information about the Gcc
mailing list