On 05/03/2020 06:15, Andre Pany wrote:
>>> Small remark: To get dub working you need to copy it from bin folder
>>> to bin64 folder manually. Just adding folders `bin64` and `bin` to
>>> PATH does not work because Dub will you `dmd` from current folder.
>>
[...]
>
> Yes, adding a64 bit version of dub to bin64 would solve the issue.
> I also agree with you, there is no need to make the 64 version the default.
> It should just be possible, by extracting the DMD zip archive and setting
> environment variable PATH to bin64 to have a working dmd & dub integration.
>
> Another solution would also be to have 2 dmd windows zip archives like
> you have it
> for FreeBSD:
> dmd.2.090.0.freebsd-32.zip
> dmd.2.090.0.freebsd-64.zip
> But this requires more effort I assume, maybe this is a solution for the
> long ran
The 64-bit binaries only add a couple of MB to the installer exe/7z, so
it's probably not required to split them up.
> and the low hanging fruit for the moment is to add a 64 dub executable
> to the dmd zip archive.
https://github.com/dlang/installer/pull/445
>
> Kind regards
> André