This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 3rd PATCH to pre-select languages to be built
- To: Dave Love <d dot love at dl dot ac dot uk>
- Subject: Re: 3rd PATCH to pre-select languages to be built
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 26 Oct 1998 15:17:36 -0700
- cc: egcs-patches at cygnus dot com
- Reply-To: law at cygnus dot com
In message <rzqbtmzkx1i.fsf@djlvig.dl.ac.uk>you write:
> >>>>> "MH" == Manfred Hollstein <manfred@s-direktnet.de> writes:
>
> MH> # This will be set by configure to "enabled" if the compiler for
> MH> # this particular language has been built, or to "disabled" if not.
> MH> LANG_ENABLED = @lang_enabled@
>
> Why can't the default makefile target just test dynamically whether
> the relevant compiler is there, if that's the criterion? I.e. why
> should it be configured in?
That seems like the natural way to do it to me too. I guess it doesn't work
well if you wanted to do a LANGUAGES="c c++" in an already built tree due
to time constraints, but that doesn't really seem like a good reason not to
use the existance of the compiler as the trigger for whether or not to build
the runtime libraries.
jeff