Build fails with LDC(x86) on Windows.#60
Build fails with LDC(x86) on Windows.#60jacob-carlborg merged 1 commit intod-widget-toolkit:masterfrom
Conversation
|
DMD can use the same tool chain as well. There's a version identifier |
|
The problem in this case is that the flags for OPTLINK get in the way when using ldc2 with dub. |
I understand. The same problem happens with DMD when targeting x86 COFF, i.e. using the BTW, since DMD 2.086.0 [1] Dub will (only Dub not DMD) default to using the [1] https://dlang.org/changelog/2.086.0.html#dmd-mscoff-default |
You are right. From what I found out, it looks like we can use
Even after dmd 2.086, with |
What if you don't pass the
I think the flag is |
Currently, if we don't specify the
It seems that |
Ah, right.
Unfortunately my Windows VMs currently don't work so I can't test it for myself but according to this [1], the |
Oops, maybe I made a typo or something, I was mistaken. I just tried it and it worked. Maybe we should wait for the release of x86_omf. |
I guess it's fine with this PR as is. It doesn't break anything that didn't work before, right? |
It's just one less pattern to break. |
|
Thanks. |
|
Thanks too. |
Because LDC uses Microsoft's linker, the flags for OPTLINK cause problems.