------- Comment #7 from bonzini at gcc dot gnu dot org 2005-10-12 08:46 ------- I'm starting to think that the way we detect target tools is incredibly overengineered -> and hence buggy.
We should just *know* that an in-tree "as" has already been compiled wherever AS_FOR_TARGET is needed! We have dependencies to ensure that, everything else is unnecessary. (Similarly for CC_FOR_TARGET, which in this PR is being misdetected as not-yet-available). I have a prototype patch to do so, but it is quite big and I have to test it really a lot. On the other hand, the patch has 3 files changed, 198 insertions(+), 367 deletions(-) and this intrigues me, especially because it removes a lot of cruft from Makefile.tpl. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24297