commercialhaskell / commercialhaskell/stack
Document static compilation (was: Static compile support for AWS Linux (Redhat/CentOS))
Open
awaiting pull request
component: docs (online)
- Dominant language
- Haskell
- Stars
- 4.1k
- Forks
- 850
- Avg merge
- 10h 37m
- Merged PRs (30d)
- 4
Description
If you are compiling for AWS Lambda you have to statically link everything, i.e. stack ghc Foo.hs -threaded -static -optl-static
This requires static versions of libffi, glibc, libgmp, ... finally got it working but it was a pain. Could really use support for static compiles out of the box in stack.
Contributor guide
Assessment
This issue has not been assessed yet.