Compiling without -g

H.J. Lu hjl@lucon.org
Fri Jan 23 21:57:00 GMT 1998


> 
> 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.
> 

That is normal, which is how bootstrap works. If you wait until
the build finishes, you will see the latest compiler is compiled
with -O.


H.J.



More information about the Gcc mailing list