[GHC] #14537: Do not link to msvcrt.dll

GHC ghc-devs at haskell.org
Tue Nov 28 14:42:31 UTC 2017


#14537: Do not link to msvcrt.dll
------------------------------------------+----------------------------
           Reporter:  johndoe             |             Owner:  (none)
               Type:  feature request     |            Status:  new
           Priority:  normal              |         Milestone:
          Component:  Compiler (Linking)  |           Version:  8.2.1
           Keywords:                      |  Operating System:  Windows
       Architecture:  Unknown/Multiple    |   Type of failure:  Other
          Test Case:                      |        Blocked By:
           Blocking:                      |   Related Tickets:
Differential Rev(s):                      |         Wiki Page:
------------------------------------------+----------------------------
 msvcrt is a system component and you can't depend on it, it should be
 either msvcrVERSION.dll if you're using dynamic linkage or nothing if
 you're using static.

 https://social.msdn.microsoft.com/Forums/vstudio/en-us/2203f72c-
 5f09-4565-97b3-21337672b191/msvcrtdll?forum=vcgeneral

 More against msvcrt:
 https://sourceforge.net/p/mingw-w64/wiki2/The%20case%20against%20msvcrt.dll/

 GCC solution: http://www.mingw.org/node/25#comment-106
 (not sure if it is relevant here)

 P.S.
 I am not user of GHC, I am just using one application written in Haskell.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14537>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list