I never seem to be able to remember how to get 64-bit going on windows.
I've extracted the zip for DMD 2.064.2, I ran the "vcvarsall.bat", but
trying to compile this trivial hello world:
import std.stdio;
void main()
{
writeln("Hello");
}
> [path_to]dmd.2.064.2\dmd2\windows\bin\dmd -m64 hello.d
Gives me this:
LINK : fatal error LNK1104: cannot open file 'shell32.lib'
--- errorlevel 1104
On a slightly more complicated program (a simple mysql-native test
program), I get this:
LINK : fatal error LNK1104: cannot open file 'ws2_32.lib'
--- errorlevel 1104
I also tried uncommenting the appropriate line in sc.ini:
;VC2008 LINKCMD=%VCINSTALLDIR%\bin\amd64\link.exe
to:
LINKCMD=%VCINSTALLDIR%\bin\amd64\link.exe
But that had no effect.