Hi

I looked in the Scons files and couldn't find a search for the
environment variable %VSnnCOMNTOOLS%.  If you could point me in the
right direction (and don't have time to play around yourself) I could
test it out right now.

Those were merely our thoughts on how to do it, alas we haven't had
the time yet to get anything implemented. The old makefile for Windows
was written in .bat and that did the vsvars trick, hardcoded to look
at various VSnn combinations, in order of most recent to oldest.

Because each system runs under its own command environment, I would
guess.  (I am guessing that, if you are using SCons, you already
tried propagating the resulting external environment to the ENV.)

I think these experiments might have been pre-scons, I'm not sure if
we've tried it seriously since then.

You shouldn't even have to parse the file much: each @set command is
located on one line, for example:

@set INCLUDE=%VCINSTALLDIR%\ATLMFC\INCLUDE;%VCINSTALLDIR%\INCLUDE;%
VCINSTALLDIR%\PlatformSDK\include;%FrameworkSDKDir%\include;%INCLUDE%

so just grab the line and execute (as a shell command), right?

Yes, that should be sufficient. Batch files can have goto's which
constitute structure, but I can't remember if any of the vsvars files
I looked up had any goto's in them.

Thanks

Neil

_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to