On Jan 7, 2007, at 6:47 PM, Neil Mitchell wrote:
From what I have seen in some parts of GHC, that is, in the Main
driver, Code Generator (CodeGen), Cmm and Native Code Generator
(NCG), the Haskell used is fairly standard Haskell98.
I would be surprised if Yhc was capable of compiling GHC. But I don't
really know for sure, and would certainly be happy if that was the
case. You'd also get bootstrapping for free, with the .hbc compilation
route, which is a very attractive option.
Exactly :)
An alternative solution would be to query the Registry
(say, KEY_CURRENT_USER\Software\Microsoft\VisualStudio\[version]\
[something--haven't found out yet]). I have to find a good program
for this purpose.
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.
Ah yes, reg [location] /s to search... This does run into a similar
problem with versioning. There seems to be no standard key for the
toolset (HKCU\Software\Microsoft\V???)--there is Visual Studio, which
has a vsvars32.bat (that should be standard) and there may be one or
more different Visual Studio packages, with the actual tools and
settings for the installation, such as VCExpress for Visual C++
Express. The best key available would be the same as the
VSnnCOMNTOOLS env variable: HKCU\Software\Microsoft\VCExpress\Setup\VC .
Cheers,
Pete
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc