This is the mail archive of the gcc-patches@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: Mainline bootstrap failure (Re: libstdc++ execute tests)


On Apr 12, 2001, Franz Sirl <Franz.Sirl-kernel@lauterbach.com> wrote:

> If we default BOOT_CFLAGS to CFLAGS we have exactly the situation Gaby
> and I don't want, namely that a "make bootstrap
> CFLAGS=<system-compilerflags>" in the toplevel will break with a
> non-gcc system compiler.

Why will it break?  BOOT_CFLAGS is only used for stage2 and 3.

Oh!  I see!  The problem is that, if you use a non-GCC bootstrap
compiler and pass CFLAGS to this compiler, that GCC wouldn't
understand, bootstrap would fail to build stage2.

Point taken.  Your patch is perfectly correct.  The approach I
proposed would be desirable, from a standards perspective, but it's
unworkable for bootstrapping.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


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