Is there a way to use x86 and x86_mscoff with dub simultaneously.

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Tue Jul 25 11:00:48 PDT 2017


On 2017-07-25 17:18, Mike Parker wrote:

> That's precisely what --arch (or simply -a) is for. But you can avoid 
> passing it explicitly by setting the $DUB_ARCH environment variable (as 
> per the dub documentation).

The use case is for DStep which requires to link with the Microsoft tool 
chain since the Clang libraries are only available in the COFF format. 
To make it as convenient as possible it would be nice to be able to 
specify in the dub.json without getting warnings.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list