
9 Dec
2016
9 Dec
'16
10:50 p.m.
Edward Yang pointed out a truncated sentence in this message. See below.
Thank you Edward!
Cheers,
- Ben
Ben Gamari
Simon Peyton Jones via ghc-devs
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.