[Distutils] WinNT and distutils
M.-A. Lemburg
mal@lemburg.com
Fri, 28 Jan 2000 14:54:46 +0100
Thomas Heller wrote:
>
> > Greg Ward wrote:
> > >
> > > > >Perhaps the msvccompiler.py class should take care of this too...
> > > > >it would sure help to avoid a distutils FAQ.
> > >
> > > I'll happily accept patches! (I'd prefer not to be the one to translate
> > > a Microsoft-written batch file into Python: there're reasons I abandoned
> > > DOS almost 6 years ago, and batch files were one of them...)
> >
> > What I had in mind was that distutils should execute vcvars32.bat
> > prior to calling calling the compiler. Should be simple enough,
> > I guess, although I'm not sure how you have implemented OS
> > environment inheritance... could be that you have to execute
> > vcvars32.bat prior to *every* call to MSVC.
>
> Does not work, because you do not know where to find it.
> It is *not* on the path, it is in the VC/bin directory.
> Maybe even that it is optional (I do not remember).
I have that directory on my PATH... I don't remember whether
I put it there or the MSVC installation did, though.
Even if it cannot be found: trying to run vcvars32.bat
prior to executing cl.exe should be ok in any case...
--
Marc-Andre Lemburg
______________________________________________________________________
Business: http://www.lemburg.com/
Python Pages: http://www.lemburg.com/python/