www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12126] New: DMD needs option to select CRT flavour


           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 puremagic.com
        ReportedBy: turkeyman gmail.com

--- Comment #0 from Manu <turkeyman 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

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

Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 09 2014