Makefile.in FLAGS_TO_PASS: why pass *_FOR_TARGET variables?

Jeffrey A Law law@cygnus.com
Sun Aug 2 00:31:00 GMT 1998


  In message < 9808020718.AA34052@marc.watson.ibm.com >you write:
  > 	I am not refering to the top-level Makefile -- I am sorry that I
  > did not make that more clear.  All of my comments were in reference to
  > gcc/Makefile.in . 
Ah.   In that case, the gcc/Makefile code to pass the _FOR_TARGET stuff
around may be historical, or due to copying code from the toplevel
Makefile.in without eliminating stuff that isn't needed.

I suspect we could probably just stop passing the _FOR_TARGET things
around to the language subdirs, except {GCC,OBJC,CXX}_FOR_TARGET.

One day it should be possible to avoid passing any FOR_TARGET crud
around in the gcc dir since we want to move runtime stuff out of
the language subdirs (and it's building the runtime stuff that needs
all the FOR_TARGET crap).

jeff



More information about the Gcc mailing list