DFLAGS ignored. How to get a dmd installation on windows that is 64 bit only

Rikki Cattermole via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Nov 21 22:37:45 PST 2015


On 22/11/15 7:34 PM, Carl Sturtivant wrote:
> The docs for dmd for windows say that the DFLAGS environment variable's
> value will be appended to the dmd command line. I tried this with -m64
> as the value and this is ignored.
> http://dlang.org/dmd-windows.html#environment
>
> More generally, is there a standard rearrangement of files and
> environment variables so that all compilation and linking is 64 bit, and
> 32-bit stuff is simply not there?

If you must force dmd to be only 64bit, use sc.ini file to do so and not 
rely on your environment variables.

Also why do you not want 32-bit support?
It's not like it won't work on a 64bit computer, it will.


More information about the Digitalmars-d-learn mailing list