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: 3rd PATCH to pre-select languages to be built



  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


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