BOOT_CFLAGS and gcc trunk

Paolo Bonzini bonzini@gnu.org
Wed May 23 15:58:00 GMT 2007


Jack Howarth wrote:
>    I am puzzled about the proper use of BOOT_CFLAGS
> with gcc trunk. Apparently on Darwin we need to use
> BOOT_CFLAGS=-g -O2 -mdynamic-no-pic. However when
> I try...

That's an optimization, actually, and one that is broken
right now (PR32009).  I'm waiting for feedback on that PR
before deciding how to fix it.

> ./gcc-4.3-20070523/configure --prefix=/home/howarth/work/gcc43 --enable-languages=c,c++,fortran BOOT_CFLAGS="-g -O3" --enable-bootstrap
> make BOOT_CFLAGS="-g -O3" bootstrap
> 
> under bash on both Darwin and Linux, I never see
> the "-g -O3" optimization flags used. Can someone
> enlighten me on how I am misusing BOOT_CFLAGS?
> Thanks in advance.

They should be used after stage1.

Paolo



More information about the Gcc mailing list