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

GHC ghc-devs at haskell.org
Mon Dec 4 21:55:58 UTC 2017


#14537: Do not link to msvcrt.dll
-------------------------------------+-------------------------------------
        Reporter:  johndoe           |                Owner:  (none)
            Type:  feature request   |               Status:  closed
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.2.1
  (Linking)                          |
      Resolution:  invalid           |             Keywords:
Operating System:  Windows           |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Other             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Phyx-):

 In your cabal file you can use `cc-options: -specs=<file>` or from the
 commandline `optc-specs=<file>`.

 You may also need to change in `lib\package.conf.d\` the `base-*.conf` and
 the `ghc-prim-*.conf` files changing the extra-libraries part.

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


More information about the ghc-tickets mailing list