How to setup dub to use x86 and x64 dll's when appropriate?
666total at wp.pl
Tue Feb 26 07:52:53 UTC 2019
On Tuesday, 26 February 2019 at 04:20:27 UTC, Michelle Long wrote:
> On Tuesday, 26 February 2019 at 04:17:04 UTC, Michelle Long
>> e.g., using sdl for different versions and have it
>> automatically switch.
>> What would be nice is if one could stick all the files for x86
>> in one dir and x64 in the others and they will be used
>> depending on the build(and copied)
>> Ideally one can do it for debug and release versions too.
> It seems also that dub is shit for swapping between different
> archs... I added the -m64 flag and then get build errors for
> lib format errors, compiles fine for x86...
Why add -m64 rather than --arch=x86_64?
More information about the Digitalmars-d-learn