Skip to content

GHC should integrate better with mingw

When developing in Windows, it is very common to require many more tools than what's available with GHC. I have myself used

  • strip
  • nm
  • reimp
  • dlltool
  • pexport
  • windres

Also, when installing libraries/headers for mingw/msys and are going to use them with GHC, the only way to get them linked is to copy them to GHC installation as well. So, I'd really like if I could tell GHC via flag or preferably via configuration file. But GHC would probably need to organize the includes and archives differently than it does now.

Configuring via files would also allow Cabal to make use of these tools without much extra fiddling.

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