https://d.puremagic.com/issues/show_bug.cgi?id=11961

           Summary: Can't select CRT to link against
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Manu <[email protected]> 2014-01-21 18:05:08 PST ---
Can an option be added to DMD to choose which CRT should be used for linking?

It seems DMD will always attempt to link to LIBCMT.LIB, but it's conventional
to link LIBCMTD.LIB in debug builds, which can cause problems linking against
C/C++ code built with MSC.
If DMD will choose LIBCMT.LIB by default, it should probably choose LIBCMTD.LIB
for debug builds.

There are also others, non-multi-threaded, and also the DLL variants, which
users may want to select.

I think a compiler option is required so people can properly match their C++
code.

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

Reply via email to