title: 64-bit executables with DMD
body: <p>I'm a bit confused about the -m64 switch on the DMD compiler. Specifically, the documentation for it says this:</p>
  
  <blockquote>
    <p>Compile a 64 bit executable. The generated object code is in MS-COFF and is meant to be used with the Microsoft Visual Studio 10 or later compiler.</p>
  </blockquote>
  
  <p>Now, I've tried to use it with my own .d files, and it's always failed with the following message:</p>
  
  <blockquote>
    <p>Can't run '\bin\link.exe', check PATH</p>
  </blockquote>
  
  <p>Does this mean I need to have a copy of Microsoft Visual Studio 10 (or later) to compile 64-bit executables? As you might have guessed, I'm on Windows 7.</p>