Bug 16660 – Deprecate/Remove Optlink as Default Linker on Windows

Status
NEW
Severity
enhancement
Priority
P4
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2016-11-03T12:58:11Z
Last change time
2024-12-13T18:50:32Z
Keywords
Optlink
Assigned to
No Owner
Creator
Sprink
Moved to GitHub: dmd#17779 →

Comments

Comment #0 by sprink.noreply — 2016-11-03T12:58:11Z
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.
Comment #1 by mk — 2016-11-03T16:32:12Z
Well, -m32 doesn't require VC installed, that's major point.
Comment #2 by robert.schadek — 2024-12-13T18:50:32Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17779 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB