64-bit DMD for windows?

Nick Sabalausky via Digitalmars-d digitalmars-d at puremagic.com
Mon May 12 16:21:10 PDT 2014


On 5/12/2014 5:01 PM, Andrej Mitrovic via Digitalmars-d wrote:
> On 5/12/14, Nick Sabalausky via Digitalmars-d
> <digitalmars-d at puremagic.com> wrote:
>> You don't need a 64-bit version: Compiling 64-bit programs doesn't
>> require a 64-bit compiler. Just install VC++, use the DMD 2.065 Win
>> installer, and then toss in the -m64 flag when compiling. Works fine.
>> Doesn't matter if DMD itself is 32-bit.
>
> As Vladimir in IRC reminded me, there is one use-case: You may need it
> for some intensive CTFE stuff (excessive memory allocations and no
> freeing by the compiler). That is, if you need more than 3/4 gigs.
>

Right, there's certainly that. But that has nothing to do with whether 
you're trying to build a 64-bit or 32-bit program, and (at least for 
Windows) it isn't even an issue at all unless you actually are hitting 
that limit (unlikely for a newcomer to D). It sounded like steven 
kladitis was worried about just being able to create 64-bit programs. 
For that, it makes no difference if the compiler itself is a 32- or 
64-bit build.



More information about the Digitalmars-d mailing list