10 Dec
2016
10 Dec
'16
3:50 a.m.
Edward Yang pointed out a truncated sentence in this message. See below. Thank you Edward! Cheers, - Ben Ben Gamari <ben@well-typed.com> writes:
Simon Peyton Jones via ghc-devs <ghc-devs@haskell.org> writes:
...
To hack around this, mingw-w64 ships a static library, msvcrt.a, which wraps msvcrt.dll and provides hand-rolled implementations of some needed symbols, including _lock_file. However, this means that the static library msvcrt.a, and the dynamic library msvcrt.dll don't export the same set of symbols, which causes GHCi to blow up if dynamically linked. Consequently we need to
The last sentence should have read,
Consequently we need to ensure that the runtime linker seeds its own symbol table with these symbols.