This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Compiling without -g
- To: jhpb at sarto dot gaithersburg dot md dot us (Joseph H. Buehler)
- Subject: Re: Compiling without -g
- From: hjl at lucon dot org (H.J. Lu)
- Date: Fri, 23 Jan 1998 18:51:19 -0800 (PST)
- Cc: jbuck at synopsys dot com, egcs at cygnus dot com
>
> 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.