Skip to content

DLLs not documented consistently

Currently half of the GHC 7.0.1 User Guide claims that dynamic linking works on Windows now, and the other half of the User Guide still claims that it doesn't work.

That's the general problem. Now here is the hard data:

  • Section 1.5.4: Correctly status that DLLs work now.
  • Section 4.12 (top): Incorrectly claims that you can't build packages as DLLs.
  • Section 4.12.4: Describes how dynamic libraries are searched for, but only for Unix and Mac OS. It mentions that Windows is the third alternative, but omits actually describing it.
  • Section 11.6 (top): Incorrectly claims that you can't build packages as DLLs. (The rest of this section talks about building DLLs callable from other languages, which is presumably still correct.)

I believe this list is complete, but I may be wrong.

Trac metadata
Trac field Value
Version 7.0.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Documentation
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information