I just got the Lyle Johnson's current patch for supporting Borland C++. One thing he added is a 'build_temp' parameter to the 'link_*()' methods of the CCompiler interface. This seems reasonable to me, so I'm going to check it in as-is.
However, BCPPCompiler is the only compiler class to do anything with 'build_temp'. Strikes me as irrelevant for UnixCCompiler, but could very well be useful for MSVCCompiler: the issue of linker turds has been hacked around in the 'msvc_prelink_hack()' method, but is there a nicer way to do it? Possibly. This change might reduce the amount of code in that hack method, which would be a good thing.
Anyone want to take a look at this and see if we can lighten the load of 'msvc_prelink_hack()' by using the 'build_temp' parameter to 'link_*()'? Thanks in advance!