Win-GHC with GnuWin32 toolset--Mingw32 replacement
Peter Tanski
p.tanski at gmail.com
Sun Jan 7 19:31:23 EST 2007
On Jan 7, 2007, at 6:47 PM, Neil Mitchell wrote:
> On Xp and W2K the reg program is capable of querying and modifying the
> registry. Just type "reg" at the command line. It basically calls the
> Win32 Reg... functions with the appropriate parameters.
I just discovered the tool we need: users should have the Microsoft
Platform SDK installed. A quick search for that directory, and in
there, specifically Program Files\Microsoft Platform SDK [version,
type]\Setup\ is VCDetect.Exe, which is run from the command line and
outputs the correct batch-script call for the environment variables
to a file:
C:\>VCDetect file
C:\>type file
@ECHO OFF
CALL "C:\Program Files\Microsoft Visual Studio 8\Common7\Tools
\VSVars32.bat"
SET MSVCVer=8.0
I still haven't figured out how to call this properly from a bash-
shell (however emulated in DOS). By the way, vSvars32.bat is for
Visual Studio (more general, better) and--my mistake--vcvars32.bat is
specific to Visual C++.
Cheers,
Pete
More information about the Cvs-ghc
mailing list