[Patch] Allow options.[ch] to be possibly regenerated after reconfigure --enable-languages=xxx
Neil Booth
neil@daikokuya.co.uk
Tue Jul 8 21:14:00 GMT 2003
Kelley Cook wrote:-
> Neil et al.,
>
> When testing GCC, I occasionally, for time purposes, will only bootstrap
> with --enable-languages=c until I'm sure the modifications will work and
> then afterwards reconfigure with --enable-languages={whatever} && make
> to get the rest of the languages and libraries built.
>
> This possibilty stopped working with your option consolidation, since
> options.[ch] will not get rebuilt if the number of front-ends it is
> depending on is modified. f77/top.c, for example, will crash since none
> of the FOPTS will be in options.h
>
> The small attached patch adds that support back in.
I have no opinion on this because 1) it doesn't affect me, and 2) I
don't pretend to understand the portability / Makefile / who knows
what else implications.
If it floats your boat and a Makefile person is happy with it then
I'm happy too. I only would ask one thing - that a comment be
added to explain the reason for the (to me at least) excess code.
Neil.
More information about the Gcc-patches
mailing list