https://issues.dlang.org/show_bug.cgi?id=19760

--- Comment #10 from Jonathan Marler <[email protected]> ---
> Feel free not to trust me, but I had a look at their license, as shipping 
> with static libs would have made the lives of some people around here much 
> easier.
> Or are you suggesting to port the DigitalMars C runtime to 64-bits? Note that 
> the MinGW runtime is no alternative, it is itself based on the Microsoft DLLs 
> (yep, the MSVC ones, not just the Windows ones).

I'm not sure what the right solution is yet.  It looks like different compilers
are using different approaches.  I think I've read that LIBCMT is a static
version of MSVCRT.dll, but I can't confirm, and even if it is, there may be
licensing issues like you point out.  Maybe we could use msvcrt.dll (the
unversioned one) for stuff that we're sure will never change and supplement it
with another static library to fill in the holes.  Maybe we chose another
implementation that we can ship a static library of (DMC/MUSL).  I'm not sure
what the right solution is here.


> A practical solution (well, the only really I can think of) would be checking 
> the availability of those DLLs in the installer.

This only works if you are creating an executable that you are shipping with an
installer.

--

Reply via email to