[Issue 16660] New: Deprecate/Remove Optlink as Default Linker on Windows
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Nov 3 05:58:11 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=16660
Issue ID: 16660
Summary: Deprecate/Remove Optlink as Default Linker on Windows
Product: D
Version: D2
Hardware: x86
OS: Windows
Status: NEW
Severity: major
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: sprink.noreply at gmail.com
It doesn't make sense to have Optlink as the default linker for 32-bit. It
doesn't use the format of the platform and it can't link 64-bit programs. You
have two different linkers being used by default. At the very least -m32mscoff
should be the default and there should be a flag switch to use Optlink. It's an
old linker that has some obscure bugs that won't be fixed. Replacing it with
another linker that supports OMF (not sure there is one) could be an option,
but even then I think COFF should still be the default.
--
More information about the Digitalmars-d-bugs
mailing list