On 16 October 2013 11:15, Brad Anderson <e...@gnuk.net> wrote: > On Tuesday, 15 October 2013 at 06:38:30 UTC, dnewbie wrote: > >> VS 2010 Express/Windows SDK 7.0: >> >> dmd -m64 hello.d >> Can't run 'c:\Program Files (x86)\Microsoft Visual Studio >> 10.0\VC\bin\amd64\link.exe', check PATH >> >> with dmd-2.064-beta-new-sc.ini-2.**exe >> > > I believe you need the 7.1 SDK. 7.0 does not come with the 64-bit > toolset. I'm not certain about the paths in an Express/7.1 setup. >
FYI, the 7.1 SDK is a downloadable SDK, it's not included with any version of Visual Studio. 7.0 and 7.0A (included with VS2008, 2010) certainly do have 64bit libs. The x64 compiler was available since VS2005 (I don't remember the lib path). VS2008 uses the 'Microsoft SDKs/Windows/v7.0', and VS2010 uses 'Microsoft SDKs/Windows/v7.0A'. The 7.1 package that you can download if obviously in 'Microsoft SDKs/Windows/v7.1'. VS2012 was the first to support Windows 8 and the 'metro' API, and for some reason they messed around with the traditional lib paths. The new location is the weird 'Windows Kits\8.0'. If you can give me the paths to: > > 1. 64-bit link.exe > 2. 64-bit C Runtime libraries (in MSVC this is %VCINSTALLDIR%lib\amd64 but > I'm not sure if that comes with Express or with the 7.1 SDK and is located > somewhere in SDK's directory structure instead). > > I might be able to this working. >