D1 & D2 alpha's for Win64

Walter Bright newshound2 at digitalmars.com
Sun Oct 14 18:44:43 PDT 2012


On 10/14/2012 6:08 PM, Andrej Mitrovic wrote:
 > Ok so we're only supposed to compile with -c when using -m64? I don't
 > suppose DMD could automatically invoke the VC linker?
 >

It does automatically invoke the VC linker.

You'll need to set the VCINSTALLDIR environment variable. I set it with sc.ini as:

---------------------
[Environment]
LIB=c:\cbx\mars\phobos;c:\cbx\mars\druntime\lib;c:\dm\lib\;c:\curl\lib
DDFLAGS=-Ic:\cbx\mars\phobos
DFLAGS=-Ic:\cbx\mars\phobos;c:\cbx\mars\druntime\import
#LINKCMD=c:\dm\bin\link.exe
VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\
WindowsSdkDir=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\
----------------------


More information about the Digitalmars-d-announce mailing list