PATCH: Disregard disabled languages

Paolo Bonzini
Mon Apr 24 09:42:00 GMT 2006

Mark Mitchell wrote:
> I ran into build failures because, even though I said
> --enable-languages=c,c++, the build system tried to build ada/ada.o
> during the Stage 1 build.  It turned out that Ada was in
> BOOT_LANGUAGES; this patch causes the configure script to completely
> ignore disabled languages.

If you are using new-style bootstrap, you should not use make restage1, 
but rather do "make all-stage1" from the toplevel.  If this also fails, 
or if you are using old-style bootstrap, you found a bug but the patch 
is wrong.

If I understand it correctly, you are removing the useful ability to 
type "make cc1plus" in the stage1 directory, even if the stage1 compiler 
is always configured only with C (and possibly Ada).

I'll post all my pending build mechanism fixes by the end of the week, 
but won't be able to apply them until the second half of May (not that 
I'm worried given the usual review lag for those patches :-P ).


More information about the Gcc-patches mailing list