This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Compiling without -g


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]