[Distutils] Better support for compiler temp dirs

Greg Ward gward@python.net
Tue, 27 Jun 2000 21:14:16 -0400

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!

Greg Ward - Unix geek                                   gward@python.net
Never put off till tomorrow what you can put off till the day after tomorrow.