DMD under 64-bit Windows 7 HOWTO

Yongwei Wu wuyongwei+removethis at gmail.com
Sun Aug 18 20:18:49 PDT 2013


I recently install DMD, and encountered this page while Googling. 
It gave me some hints, but my changes to make it work on 64-bit 
Windows 7 + MSVC 2012 is really much less drastic. After adding 
C:\dmd2\windows\bin to PATH, I only need to edit the LIB line in 
sc.ini to the following effect:

LIB="%VCINSTALLDIR%lib\amd64";"%WindowsSdkDir%lib\win8\um\x64";"%@P%\..\lib"

I can then launch a VS2012 Developer Command Prompt to use either 
-m32 and -m64 modes. For the "normal" command prompt, -m32 works, 
but -m64 does not. I do not feel it a problem for me at all.


More information about the Digitalmars-d mailing list