[Issue 11962] VisualD needs an option to choose the CRT to link against

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Feb 9 19:22:54 PST 2014


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



--- Comment #6 from Manu <turkeyman at gmail.com> 2014-02-09 19:22:50 PST ---
(In reply to comment #5)
> A reference to LIBCMT is added by dmd to the object file that contains main,
> and it is generated to the C modules in phobos.lib.
> I don't think Visual D can do anything about changing it but to add
> /NODEFAULTLIB to the linker. Would that be good enough?

It sounds like DMD needs to introduce this concept as a compile flag, and
VisualD needs to add an option in the project settings to select (just like in
C++).

I'd suggest a workaround that VisualD can implement immediately would be to use
/NODEFAULTLIB by default, and also offer the option in the project settings to
choose the CRT to link explicitly? The project option could then be switched to
support a proper DMD compile flag at a later time when DMD adds such a thing?

-- 
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