Thread overview
What is the status of 64-bit development on Windows?
Oct 20, 2014
katuday
Oct 20, 2014
Joakim
Oct 20, 2014
katuday
Oct 20, 2014
Joakim
Oct 21, 2014
Brad Anderson
Oct 21, 2014
katuday
Oct 24, 2014
ixid
Oct 24, 2014
Marc Schütz
October 20, 2014
I am new to D. Where do I get a D compiler to build 64-bit binaries on Windows 7?
Searching the forum shows 64-bit support on Windows as work-in-progress in 2013. Is this still the case?
Thanks.
October 20, 2014
On Monday, 20 October 2014 at 18:36:20 UTC, katuday wrote:
> I am new to D. Where do I get a D compiler to build 64-bit binaries on Windows 7?
> Searching the forum shows 64-bit support on Windows as work-in-progress in 2013. Is this still the case?
> Thanks.

Win64 is pretty well-supported for some time now, though you have to install the MSVC toolchain to use it.  The download page was updated a couple months ago in a confusing way, all dmd compilers support 64-bit compilation:

https://github.com/D-Programming-Language/dlang.org/pull/593/files

What the download page means to say is that there's no 64-bit dmd binary for Windows, but the 32-bit dmd binary will compile D source into 64-bit Windows code also.  I'd submit a pull to make this clear, but I'm not sure where it should go on the page.  It should be fixed.
October 20, 2014
On Monday, 20 October 2014 at 19:04:15 UTC, Joakim wrote:
> On Monday, 20 October 2014 at 18:36:20 UTC, katuday wrote:
>> I am new to D. Where do I get a D compiler to build 64-bit binaries on Windows 7?
>> Searching the forum shows 64-bit support on Windows as work-in-progress in 2013. Is this still the case?
>> Thanks.
>
> Win64 is pretty well-supported for some time now, though you have to install the MSVC toolchain to use it.  The download page was updated a couple months ago in a confusing way, all dmd compilers support 64-bit compilation:
>
> https://github.com/D-Programming-Language/dlang.org/pull/593/files
>
> What the download page means to say is that there's no 64-bit dmd binary for Windows, but the 32-bit dmd binary will compile D source into 64-bit Windows code also.  I'd submit a pull to make this clear, but I'm not sure where it should go on the page.  It should be fixed.

I am confused. Microsoft C/C++ tool chain is required in order to use dmd? How?
I do have several MS Visual C++ compilers including the latest (2013) but am not sure how I am supposed to used them alongside dmd.
October 20, 2014
On Monday, 20 October 2014 at 20:28:03 UTC, katuday wrote:
> I am confused. Microsoft C/C++ tool chain is required in order to use dmd? How?

For 32-bit compilation, no, no additional download is necessary.  For 64-bit, you need the Microsoft COFF linker and C runtime.  The installer will try to automatically configure dmd to use those if you have them already.  Have you tried it?

Using Win64 from the zip file will require some manual configuration, similar to these somewhat outdated instructions on the wiki:

http://wiki.dlang.org/Installing_DMD_on_64-bit_Windows_7_(COFF-compatible)

There is also experimental support for 32-bit COFF in the latest git HEAD. :)
October 21, 2014
On Monday, 20 October 2014 at 21:05:33 UTC, Joakim wrote:
> For 32-bit compilation, no, no additional download is necessary.  For 64-bit, you need the Microsoft COFF linker and C runtime.  The installer will try to automatically configure dmd to use those if you have them already.  Have you tried it?

Just to add to this, use `dmd source.d -m64` to try it out and see if you're already configured and ready to go.
October 21, 2014
On Tuesday, 21 October 2014 at 00:04:50 UTC, Brad Anderson wrote:
> On Monday, 20 October 2014 at 21:05:33 UTC, Joakim wrote:
>> For 32-bit compilation, no, no additional download is necessary.  For 64-bit, you need the Microsoft COFF linker and C runtime.  The installer will try to automatically configure dmd to use those if you have them already.  Have you tried it?
>
> Just to add to this, use `dmd source.d -m64` to try it out and see if you're already configured and ready to go.

I got it! Perfect.
October 24, 2014
On Monday, 20 October 2014 at 21:05:33 UTC, Joakim wrote:
> On Monday, 20 October 2014 at 20:28:03 UTC, katuday wrote:
>> I am confused. Microsoft C/C++ tool chain is required in order to use dmd? How?
>
> For 32-bit compilation, no, no additional download is necessary.  For 64-bit, you need the Microsoft COFF linker and C runtime.  The installer will try to automatically configure dmd to use those if you have them already.  Have you tried it?
>
> Using Win64 from the zip file will require some manual configuration, similar to these somewhat outdated instructions on the wiki:
>
> http://wiki.dlang.org/Installing_DMD_on_64-bit_Windows_7_(COFF-compatible)
>
> There is also experimental support for 32-bit COFF in the latest git HEAD. :)

That currently says it has no text. This is frustrating trying to get 64 bit DMD to work, it really needs to be easier.
October 24, 2014
On Friday, 24 October 2014 at 18:14:18 UTC, ixid wrote:
> On Monday, 20 October 2014 at 21:05:33 UTC, Joakim wrote:
>> On Monday, 20 October 2014 at 20:28:03 UTC, katuday wrote:
>>> I am confused. Microsoft C/C++ tool chain is required in order to use dmd? How?
>>
>> For 32-bit compilation, no, no additional download is necessary.  For 64-bit, you need the Microsoft COFF linker and C runtime.  The installer will try to automatically configure dmd to use those if you have them already.  Have you tried it?
>>
>> Using Win64 from the zip file will require some manual configuration, similar to these somewhat outdated instructions on the wiki:
>>
>> http://wiki.dlang.org/Installing_DMD_on_64-bit_Windows_7_(COFF-compatible)
>>
>> There is also experimental support for 32-bit COFF in the latest git HEAD. :)
>
> That currently says it has no text. This is frustrating trying to get 64 bit DMD to work, it really needs to be easier.

You need to append a ")", the forum software doesn't see it as part of the link.