X86_mscoff / x86_64 as default for dub projects (windows)

Dennis dkorpel at gmail.com
Fri Dec 7 13:58:12 UTC 2018


On Thursday, 6 December 2018 at 17:58:17 UTC, Andre Pany wrote:
> This is mostly interesting for windows developers. What is your 
> opinion of switching to architecture x86_mscoff or x86_64 as 
> default on windows?

My biggest gripe is this confusing matrix of compiler flags:

       default  -m32     -m32mscoff  -m64
dmd   OMF      OMF      COFF-32     COFF-64
ldc   COFF-64  COFF-32  Error       COFF-64

The same applies to dub's --arch flag.

Currently, the default works out of the box and I don't want to 
change that. I also don't like the idea of changing semantics and 
break code / expectations of users that way. Maybe we can make 
the current flags for dub/the compilers undocumented and define 
new, consistent flags.




More information about the Digitalmars-d mailing list