clr-win-linker: A GHC linker wrapper tool to workaround a GHC >8.2 bug

[ .net, bsd3, clr, ffi, language, program ] [ Propose Tags ]

Please see README.md


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0
Dependencies base (>=4.7 && <5), directory, pipes, pipes-safe, process [details]
License BSD-3-Clause
Copyright 2017 Tim Matthews
Author Tim Matthews
Maintainer tim.matthews7@gmail.com
Category Language, FFI, CLR, .NET
Home page https://gitlab.com/tim-m89/clr-haskell/tree/master/utils/clr-win-linker
Uploaded by PepeIborra at 2017-04-25T17:31:07Z
Distributions NixOS:0.1.0.0
Reverse Dependencies 1 direct, 0 indirect [details]
Executables clr-win-linker
Downloads 1090 total (8 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2017-04-25 [all 2 reports]

Readme for clr-win-linker-0.1.0.0

[back to package description]

This package provides small utility to backport GHC bug fix #12186 for GHC versions < 8.2

It works by being specified as the linker, where it will simply do a find and replace on the supplied linker args before passing the result on to the real linker.

To build & install, run the following:

stack install clr-win-linker

Which will copy the resulting executable to the path, usually 'C:\Users<name>\AppData\Roaming\local\bin'

Then specify as the linker when building other packages like so:

stack build --ghc-options="-pgml clr-win-linker"

And the resulting executables should then get past ghc issue #12186:

stack exec clr-test-app