[Issue 12126] New: DMD needs option to select CRT flavour
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Feb 9 21:11:17 PST 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12126
Summary: DMD needs option to select CRT flavour
Product: D
Version: D2
Platform: x86_64
OS/Version: Windows
Status: NEW
Severity: major
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: turkeyman at gmail.com
--- Comment #0 from Manu <turkeyman at gmail.com> 2014-02-09 21:11:05 PST ---
Windows objects usually contain a reference to a particular flavour of the CRT
it wants to link against, and it seems objects produced by DMD are no
exception.
Currently, DMD has no option to select which CRT reference to embed, and this
makes for lots of problems in complex linkage environments.
DMD should have options added to match the MSC options /MT /MD /MTd /MDd, and
insert the appropriate CRT reference accordingly.
The default is probably okay, but I suggest that /MTd should be selected by
default when building -debug, since other C code built with /MTd is currently
incompatible.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list