LINK : fatal error LNK1104: cannot open file '_CMDLINE' --- errorlevel 1104

Mike Parker via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jan 11 19:52:33 PST 2016


On Tuesday, 12 January 2016 at 03:47:35 UTC, Mike Parker wrote:
> On Tuesday, 12 January 2016 at 01:44:17 UTC, Jason Jeffory 
> wrote:
>
>> So, how do I set the json to compile for x64?
>
> You don't. You pass -ax86_64 (or --arch=x86_64) on the command 
> line. If you find that inconvenient, just make a batch file to 
> do it for you.

Actually, you could add -m64 in a dflags field (see [1]), but 
then you're in a situation where DUB thinks you're compiling in 
32-bit, so configuration fields that are architecture-dependent 
will be off.


More information about the Digitalmars-d-learn mailing list